Why don't std::vector's elements need a default constructor?
Asked 2010-03-04T05:02:18.773
28
And how can I write my own array class to not need a default constructor for its elements? Right now, when I do the new [] to allocate space, I need a default constructor.