Boost logo

Boost :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-06-30 11:14:30


Frank Mori Hess <frank.hess <at> nist.gov> writes:
> One minor quibble: I think you left out a "public":
>
> class Foo: public intrusive_base<Foo>
>
> otherwise, I get compile errors unless I declare the add_ref/release functions
> as friends to Foo also.

That's right

 
Gennadiy


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