From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2007-12-17 16:22:58
> Thorsten Ottosen:
>> Joaquin M Lopez Munoz skrev:
>>> Thorsten Ottosen <thorsten.ottosen <at> dezide.com> writes:
>>>> I would use it as a lightweight and more convenient replacement for
>>>> boost::shared_ptr<const T>.
>>>> In my application I might have < 50 objects that needs to by flyweights.
>>>> They are almost never identical, and if they are, the memory occupied by
>>>> the factory would probably be much larger than that of duplication.
>>> Well, then you might not need using the flyweight idiom
>>> after all...
>> Well, it's lower overhead (if no factory and forwarding
>> constructors/operations makes it a better choice than shared_ptrconst T>.
describes make_shared(). Any reason you haven't added a version to trunk?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk