[iostreams] non-copyable device with Boost.Ref pattern
Here follows a simple pattern to use Boost.IOstreams with your
non-copyable Device, allowing you quick access to formatted input and
output:
#include
Pedro Lamarão escreveu:
Here follows a simple pattern to use Boost.IOstreams with your non-copyable Device, allowing you quick access to formatted input and output:
#include
#include #include "foo_device.hpp"
/* Don't; just to make lines shorter. */ using boost::iostreams; using boost;
Oops; using namespace, of course. No matter how much I re-read... :( -- Pedro Lamarão Desenvolvimento Intersix Technologies S.A. SP: (55 11 3803-9300) RJ: (55 21 3852-3240) www.intersix.com.br Your Security is our Business
participants (1)
-
Pedro Lamarão