
1 Dec
2009
1 Dec
'09
9:14 p.m.
Zitat von Jeff Flinn <TriumphSprint2000@hotmail.com>:
until then, STL can handle most cases: copy(V.begin(), V.end(), ostream_iterator<int>(cout, ","));
Not very pretty with that trailing ",", IMHO of course.
Regardless of the approach taken, I think this would be a useful facility.
agreed. in every other instance, streaming operators are part of the boost library that contains the streamed type. using namespace boost::container;