Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-01-29 16:04:48


on 1/29/00 2:20 PM, jsiek_at_[hidden] at jsiek_at_[hidden] wrote:

> True. Perhaps the thing to do is used shared ptr's for when you've
> got pointers on the heap, and linked for when you can keep them
> on the stack.

I think it's premature to draw this kind of conclusion. Even when you're
using them in standard containers they spend some time on the stack as
temporaries and return values. In any case, we need more measurement.

-Dave


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