------- Comment #4 from pinskia at gcc dot gnu dot org 2009-12-01 18:34 ------- (In reply to comment #2) > On second thoughts, it might be necessary to split it into two overloads for > C++1x, because this should work:
But std::vector::resize (size_type sz, T c = T()); is the only one listed at least in C++03. What does C++1x say about that function? You might need to raise this to the C++ standards committee. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42242