Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 2000-01-29 14:20:10


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.

Dave Abrahams writes:
> on 1/29/00 2:44 AM, jsiek_at_[hidden] at jsiek_at_[hidden] wrote:
>
> > But those 12 loads/stores are to the stack instead of the heap, and
> > in many situations they will go away via register allocation.
>
> Whether they're on the stack or the heap really depends. For example, if the
> pointers are in a standard container, well, they're probably on the heap ;)
>
>
> ------------------------------------------------------------------------
> Want to send money instantly to anyone, anywhere, anytime?
> You can today at X.com - and we'll give you $20 to try it! Sign
> up today at X.com. It's quick, free, & there's no obligation!
> http://click.egroups.com/1/332/1/_/9351/_/949160330/
>
> -- 20 megs of disk space in your group's Document Vault
> -- http://www.egroups.com/docvault/boost/?m=1
>
>
>


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