Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-03-04 12:56:40


Iain Hanson wrote:
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.

Thanks for your input.

> personally, I don't like obfuscated code.

And you think I do? Obviously I wouldn't suggest the macros if I though it made
code harder to understand.

> /ikh

Jonathan


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