Robert Jones wrote:
>
> I might be asking for the impossible here, but given the lovely adaptor
> syntax, eg
>
> std::vector<int> vec;
> boost::copy( vec | boost::adaptors::reversed
> | boost::adaptors::uniqued,
> std::ostream_iterator<int>(std::cout) );
>
>
> I notice it still uses the function call notation in the outermost
> operation( boost::copy() ),
> can it be written to eliminate function call syntax completely, say
> something like
>
> vec | boost::adaptors::reversed | boost::adaptors::uniqued |
> boost::adaptors::copy( std::ostream_iterator<int>(std::cout) );
>
> or even
>
> vec | boost::adaptors::reversed | boost::adaptors::uniqued |
> std::ostream_iterator<int>(std::cout);
It could be done, but it might not make much sense. The boost