
31 Jan
2005
31 Jan
'05
10:40 a.m.
Hi, One of my unit tests is failing because following code throw an exception (gcc 3.2.3 linux): #include <list> #include <string> int main() { std::list<char> l; l.push_back( 'a' ); l.push_back( 'b' ); l.push_back( 'c' ); std::string( l.begin(), l.end() ); return 0; } Does it supposed to work? Is there workarounds? Gennadiy