Since the syntax
friend class B
doesn't declare a member of the classA
, it doesn't matter where you write it, classB
is a friend of classA
.
[via @Nawaz]
Since the syntax
friend class B
doesn't declare a member of the classA
, it doesn't matter where you write it, classB
is a friend of classA
.
[via @Nawaz]