Boost logo

Boost Users :

From: eg (egoots_at_[hidden])
Date: 2008-02-04 12:59:34


Stefan Arentz wrote:
> I've written a really simple aggregate_filter that runs the world
> famous and highly secret ROT13 encryption. This filter works fine when
> I use a file_sink and file_source. But I really just want to run this
> on a bunch of string buffers. Unfortunately it does not work, the
> destination string is always empty. Does anyone understand why?
>

I'm not sure why your case doesn't work, but...

If you look in libs\iostreams\example directory, you can look at the
container_sink.cpp example along with the container_device.hpp which
models an STL-compatible sequence as a sink or source.


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