Boost logo

Boost Users :

Subject: Re: [Boost-users] Null Stream
From: Philipp Kraus (philipp.kraus_at_[hidden])
Date: 2010-06-12 19:05:11


On 2010-06-12 23:16:49 +0200, Kraus Philipp said:

> Hi,
>
> I'm new at boost, but I don't know how to use the
> http://beta.boost.org/doc/libs/1_43_0/boost/iostreams/device/null.hpp
> device.
> I must use the boost::iostreams::copy to copy a stream to the /dev/
> null, but I don't know to declare my out null-output stream.
> Can anyone help me to declare the stream?

Okay I've found my error:
I had wrote bio::stream_buffer< bio::basic_null_sink<char> > l_out
and it must be bio::basic_null_sink<char> l_out;



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net