From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-11-05 17:15:56


"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