Skip to content

In case you needed another reason not to use VC6

The MSVC6 implementation of STL omits push_back() on std::basic_string, meaning that

std::string s,s2;

std::copy( &s[0], &s[n], std::back_inserter( s2 ) );

gives a syntax error; but it shouldn’t.

Post a Comment

Your email is never published nor shared. Required fields are marked *