
12 Aug
2013
12 Aug
'13
5:21 a.m.
On Sun, Aug 11, 2013 at 10:09 PM, yuri kilochek
Why not derive from std::streambuf overriding appropriate functions? Isn't it the standard way to deal with custom data streams?
It doesn't seem like it's quite what I'm looking for. For instance this SO questionhttp://stackoverflow.com/questions/8116541/what-exactly-is-streambuf-how-do-...about streambuf seems to indicate that it's something of an implementation detail, and thus not appropriate for a high-level interface. I think the Boost.Asio buffer class is much more appropriate. -- Geoff Nothing is ever easy.