Boost logo

Boost :

Subject: Re: [boost] [explore] Library Proposal: Container Streaming
From: strasser_at_[hidden]
Date: 2009-12-01 16:14:24


Zitat von Jeff Flinn <TriumphSprint2000_at_[hidden]>:
>>
>> 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;


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk