Added basic friendship relationship handling

This commit is contained in:
Bartek Kryza
2021-03-26 23:12:50 +01:00
parent a8bab3931e
commit 130ab4dc11
5 changed files with 366 additions and 264 deletions

View File

@@ -17,8 +17,11 @@ private:
void foo() {}
friend class B;
friend class external::C;
// TODO
template <typename T> friend class D;
// TODO: Add friend for a template specialization
// TODO
friend class D<int>;
friend class D<A>;
};
class B {