Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-02-08 08:31:11


Christopher Kohlhoff wrote:
> Hi Giovanni,
>
> --- "Giovanni P. Deretta" <gpderetta_at_[hidden]> wrote:
> <snip>
>> In the end asio::socket_ptr<Stream> would look at its pointed
>> object and decide if it needs dynamic allocation or not.
>
> I'm happy with such a solution provided that no requirement is
> made that any asio class (stream_socket, etc) must support
> copying.
>
> But let me ask: why would this need to be part of asio at all?

Convenience first and foremost - it would let you write a tutorial without
introducing other boost components - and freedom to change the
implementation later. Lack of dependencies, in other words.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk