Boost logo

Boost :

From: Björn Karlsson (bjorn.karlsson_at_[hidden])
Date: 2001-11-04 15:12:26


> From: Gennadiy E. Rozental [mailto:rogeeff_at_[hidden]]
> Sent: den 4 november 2001 20:10
> To: boost_at_[hidden]
> Subject: [boost] RE: Class Properties (was Re: New file uploaded to
> boost)
>
>
> Hi,
>
> I like a nidea presented, but I am not sure that implementation is
> portable. As far as I remember following friend declaration is ill-
> formed:
>
> template<class T>
> class A {
> friend class T;
> };
>

You're absolutely right; the friend declaration is ill-formed (7.1.5.3).

Bjorn


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