Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-02-28 20:10:56

Okay Brian,

The following apparently works, but when OutputDebugString is called I don't see
any output. I'm not sure if the previous version worked or not; I've run out of
time for now.


struct debug_out_sink : boost::iostreams::sink {
    debug_out_sink ()
        using namespace boost::iostreams;

    void write(const char* s, std::streamsize n)
        chain_.write(s, n);

    boost::iostreams::detail::chain<boost::iostreams::output> chain_;

Boost list run by bdawes at, gregod at, cpdaniel at, john at