References
Reference NO 1
http://stackoverflow.com/questions/15195091/using-delete-operator-in-a-pointer-in-vector
Reference NO 2
http://stackoverflow.com/questions/5295616/how-to-deallocate-object-pointer-in-vector
Reference NO 3
http://bytes.com/topic/c/answers/444395-pointer-vector-shall-i-delete-clear
Reference NO 4
http://www.daniweb.com/software-development/cpp/threads/425578/only-delete-pointers-declared-with-quotnewquot-operator
Reference NO 5
http://weseetips.com/2009/03/02/how-to-delete-pointers-in-vector-or-map-in-single-line/
Reference NO 6
http://people.engr.ncsu.edu/efg/210/s99/Notes/pointers.4.class.html
Reference NO 7
http://ootips.org/yonat/4dev/smart-pointers.html
Reference NO 8
http://eli.thegreenplace.net/2012/06/20/c11-using-unique_ptr-with-standard-library-containers/
No comments:
Post a Comment