Home | History | Annotate | Download | only in class.friend

Lines Matching full:friend

3 // C++'0x [class.friend] p1:
4 // A friend of a class is a function or class that is given permission to use
6 // its friends, if any, by way of friend declarations. Such declarations give
14 friend struct S;
15 friend S* g();
32 friend struct S;
33 friend S* g();
35 friend struct S2;
36 friend struct S2* g2();
76 friend class ClassFriend;
77 friend class UndeclaredClassFriend;
79 friend void undeclared_test();
80 friend void declared_test();
81 friend void MemberFriend::test();
122 friend struct ilist_walker_bad;
129 friend struct ilist_walker;
155 friend int foo(B*);
171 friend int foo(B*);
182 friend bool operator==(Holder &a, Holder &b) {
203 friend class B;
218 friend A::A();
219 friend A::~A();
220 friend A &A::operator=(const A&);
233 friend void X<int>::foo();
234 friend X<int>::X();
235 friend X<int>::X(const X&);
258 // Return types, parameters and default arguments to friend functions.
263 friend I f(I i);
264 template<typename T> friend I g(I i);
284 friend class test9;
296 friend void test10::test10_f(void);
322 friend void A::test0(int);
323 friend void A::test1(int);
339 friend void A::foo();
354 friend void bar(void) {
362 // (e.g.) a friend declaration.
367 friend void c();