Christof Meerwald@freec++.prog | |||||
Friend Declaration of Class in Another Namespacenamespace 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 |