http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n187...
it would allow to do things like
std::copy( ptr_vec | std::reversed | std::indirected, std::ostream_iterator<int>( std::cout ) );
The result can be very readable and robust, I've seen complex production code using extensively this syntax.
Regards,
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n187...
it would allow to do things like
Boost.Range implements part of the proposal, a much more complete implementation is Oven (http://p-stade.sourceforge.net/oven/doc/html/index.html), which includes the pipe operator, but I think it is unmaintained.The result can be very readable and robust, I've seen complex production code using extensively this syntax.