Boost logo

Boost :

From: Iain Hanson (Iain.Hanson_at_[hidden])
Date: 2005-03-04 09:16:11


On Thu, 2005-03-03 at 23:21 +0100, JOAQUIN LOPEZ MU?Z wrote:
>
> ----- Mensaje original -----
> De: Jonathan Turkanis <technews_at_[hidden]>
> Fecha: Jueves, Marzo 3, 2005 9:49 pm
> Asunto: [boost] [congif] BOOST_BEFRIEND_TEMPLATE, BOOST_PRIVATE
>
> >
> > #ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
> >
> > private:
> >
> > template<class Y> friend class shared_ptr;
> > template<class Y> friend class weak_ptr;

These 4 line of code I can read and understand.
> >
> >
> > BOOST_PRIVATE:
> > BOOST_BEFRIEND_TEMPLATE(shared_ptr, Y, 1)
> > BOOST_BEFRIEND_TEMPLATE(weak_ptr, Y, 1)
> >
And these 2 lines don't mean anything I can grok.

personally, I don't like obfuscated code.

/ikh




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