|
Boost : |
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2006-02-08 11:01:19
On 2/8/06, Christopher Kohlhoff <chris_at_[hidden]> wrote:
[snip]
> However, this is probably all too complicated for a tutorial.
> I'm now leaning towards just going with the shared_from_this()
> style for the tutorial (as used in the HTTP server example),
> with an appropriate link into the shared_ptr docs explaining it.
> If a developer is sufficiently motivated to want to eliminate
> the costs of using shared_ptr, I'll point them to other examples
> that showcase alternative styles.
Is there any ready example about alternative styles without shared_ptr overhead?
I'm very curious about how it is possible (without cluttering the code).
>
> Cheers,
> Chris
best regards,
-- Felipe Magno de Almeida
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk