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.
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