|
Boost : |
From: Greg Colvin (greg_at_[hidden])
Date: 2002-04-30 13:53:05
At 12:41 PM 04/28/2002, Beman wrote:
>* LWG members are very concerned that "you don't have to pay for what you don't use." This is particularly true of memory; increased memory use due to multiple inheritance or to accommodate weak_ptr, for example, is viewed as a serious problem.
I don't really think that is such a big issue, unless shared objects
are hardly shared at all, and maybe not even then.
The overhead for the weak pointer need be only one word per object, not
per pointer, and the smart pointer itself need be only one or two words.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk