
13 Sep
2011
13 Sep
'11
9:59 p.m.
AMDG On 09/13/2011 02:35 PM, Krzysztof Żelechowski wrote:
== The Problem ==
Boost.Range defines boost:: begin to give you the iterator to every possible container — except ostream.
Why is this a problem? An ostream is not a container. Neither of your proposed solutions make ostream a valid range, so overloading boost::begin is just confusing. I don't see what the problem with just using std::ostream_iterator directly is. In Christ, Steven Watanabe