|
Boost Users : |
From: Pedro Lamarão (pedro.lamarao_at_[hidden])
Date: 2006-01-24 15:50:59
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 <boost/iostreams/stream.hpp>
> #include <boost/ref.hpp>
>
> #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
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