---------------
Christof Meerwald@freec++.prog

home
> prog
>> freecpp
>>> friend namespace class

translate to German (by SYSTRAN)

Friend Declaration of Class in Another Namespace

> friend_namespace_class.cpp:

namespace ns
{
  class A
  { };
}

class B
{
  friend class ns::A;
};


int main()
{
  return 0;
}
---------------

This Web page is licensed under the Creative Commons Attribution - NonCommercial - Share Alike License. Any use is subject to the Privacy Policy.

Revision: 1.2, cmeerw.org/prog/freecpp/friend_namespace_class.html
Last modified: Mon Sep 03 18:20:50 2018
Christof Meerwald <cmeerw@cmeerw.org>
XMPP: cmeerw@cmeerw.org