Peter Dimov wrote:
From: "Fernando Cacciola" <[EMAIL PROTECTED]>

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



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to