Boost logo

Boost :

From: Dirk Gerrits (dirk_at_[hidden])
Date: 2002-12-10 16:03:08


Peter Dimov wrote:
> From: "Fernando Cacciola" <fernando_cacciola_at_[hidden]>
>
>>I don't know of 'standard' examples, but in my code I do that a lot:
>>
>>class curve
>>{
>> shared_ptr<polygon> acquire_approx() const { return m_approx ; }
>> shared_ptr<polygon> m_approx ;
>>} ;
>
>
> But this is not a get(). It is an acquire_approx(). :-)

Well at least it showed me the difference between acquire() and
release(). ;)

Dirk Gerrits


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