|
Boost : |
Subject: Re: [boost] [Interprocess] Named pipe interface proposal
From: yuri kilochek (yuri.kilochek_at_[hidden])
Date: 2013-08-12 03:26:59
Exactly. It is a low level thing supposed to be wrapped in
std::basic_istream/std::basic_ostream for high level stuff. Do not reinvent
the wheel, study the design of standard library if you want consistency.
12 авг. 2013 г. 11:12 полÑзоваÑÐµÐ»Ñ "Geoff Shannon" <geoffpshannon_at_[hidden]>
напиÑал:
> On Sun, Aug 11, 2013 at 10:09 PM, yuri kilochek <yuri.kilochek_at_[hidden]
> >wrote:
>
> > 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
> question<
> http://stackoverflow.com/questions/8116541/what-exactly-is-streambuf-how-do-i-use-it
> >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.
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk