
29 Jan
2012
29 Jan
'12
2:43 p.m.
With all the nice boost libraries, is there a modern idiom to copy a range to an ostream? I was thinking range/algorithm/copy could be useful. What I'd really like to do is: 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.