|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-03-05 09:16:37
"Peter Dimov" <pdimov_at_[hidden]> writes:
>> BOOST_BEFRIEND_TEMPLATE(shared_ptr, Y, 1)
>> BOOST_BEFRIEND_TEMPLATE(weak_ptr, Y, 1)
>> T * px; // contained pointer
>> detail::shared_count pn; // reference counter
>
> This doesn't look any better to me than the original, sorry. ;-)
I agree with Peter. In fact, to me it looks significantly worse.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk