
28 Aug
2009
28 Aug
'09
7:40 a.m.
Robert Dailey wrote:
Hello,
I'm using the container_device class provided in the documentation. I'm creating my stream and device like so:
typedef boost::iostreams::stream< container_device<std::vector<boost::uint8_t > >
ByteStream;
ByteStream stream; stream << "Hello";
Hi, I did the same and it runs just fine... I modified the example from iostreams documentation to make it compile (this probably answers your previous mail, could you file a patch after verifying my changes?). A complete example which compiles (and runs just fine with boost 1.36) is attached. So in order to find out what's wrong in your case, you should provide a full example yourself. Regards, Roland