'array delete' destroys elements in reverse order of its initialization, while when a vector is destroyed, its elements are destroyed from first to last.
Reference: "C++ Gotchas" by Stephen C. Dewhurst. Addison-Wesley, 2002., p. 168.
Monday, February 8, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment