Boost logo

Boost :

Subject: Re: [boost] shared_ptr/shared_count and the cost of use counter allocation
From: Loïc Joly (loic.actarus.joly_at_[hidden])
Date: 2008-09-08 15:26:24

Hendrik Schober a écrit :
> For the proprietary smart pointer this allocation
> can be tweaked by passing allocators as template arguments, while
> 'shared_ptr' seems not to allow this.
The use of make_shared should reduce the allocation cost.
There is also a version of the constructor that takes an allocator as

I have no idea which of those options would have the best impact.


Boost list run by bdawes at, gregod at, cpdaniel at, john at