|
Boost : |
From: Björn Karlsson (bjorn.karlsson_at_[hidden])
Date: 2001-11-06 03:46:37
> From: Jens Maurer [mailto:Jens.Maurer_at_[hidden]]
> Sent: den 5 november 2001 23:16
> To: boost_at_[hidden]
> Subject: Re: [boost] Re: Class properties utility classes
>
>
> "Gennadiy E. Rozental" wrote:
> > Jens Maurer <Jens.Maurer_at_g...> wrote:
> > > Instead of "friend Owner" it should say "friend class Owner"
> > > (twice).
>
> > No. See http://groups.yahoo.com/group/boost/message/19531
>
> "friend Owner" is definitely wrong. Note that 7.1.5.3p1 says that
> the class-key is compulsory. Note further that "friend class Owner"
> is indeed ill-formed according to 7.1.5.3p2.
> There appears to be no way to declare the friendship the code
> wants to declare.
>
> See also core issue 68.
>
> Jens Maurer
>
Exactly. Both syntactic versions of friendship utilize broken compilers.
Bjorn
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk