Boost logo

Boost Users :

Subject: [Boost-users] copy a range to ostream
From: Neal Becker (ndbecker2_at_[hidden])
Date: 2012-01-29 09:43:07

With all the nice boost libraries, is there a modern idiom to copy a range to an

I was thinking range/algorithm/copy could be useful. What I'd really like to do

std::vector<some type> x;

range::copy (x, std::cout);

Of course there would also need to be a way to specify formatting, at least
insertion of whitespace.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at