------- Comment #2 from paolo dot carlini at oracle dot com 2009-02-09 09:53 ------- (In reply to comment #0) > I'm not sure if this is valid code. However, the standard seems to indicate > that resize(size_type), is a required member function (or at least interface) > of std::vector.
Which standard? To be clear, in the current one, the function is resize(size_type sz, T c = T()). Otherwise, the C++0x overloads require concepts (and I think we also have an open PR about that) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39136