Re: Why does std::vector require its elements to be assignable?

Originally Posted by
monarch_dodra
That was an interesting read. The thread is old, but I think I'll chip in my two cents:
Why not use a boost::ptr_vector? Basically, it is a self-maintained container of
pointers to objects, making all the requirements met by default.
The same reason C++ arrays aren't like Java arrays: we want to avoid extra allocations when not necessary.
Old Unix programmers never die, they just mv to /dev/null