
4 Feb
2008
4 Feb
'08
5:59 p.m.
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.