Boost logo

Boost :

From: Robert Dailey (rcdailey_at_[hidden])
Date: 2008-07-17 11:39:44


Hi,

Reading through the documentation for the Boost.Iochain library, I do
not see that any default >> and << operators have been provided. I
would expect to be able to use these to stream data out of a stream
and into a stream, respectively. An example of the >> operator would
be below:

template< typename t_type >
source& operator>> ( source& stream, t_type& data )
{
    stream.read( data );
    return stream;
}


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk