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();
75 friend class ClassFriend;
76 friend class UndeclaredClassFriend;
78 friend void undeclared_test();
79 friend void declared_test();
80 friend void MemberFriend::test();
121 friend struct ilist_walker_bad;
128 friend struct ilist_walker;
154 friend int foo(B*);
170 friend int foo(B*);
181 friend bool operator==(Holder &a, Holder &b) {
202 friend class B;
217 friend A::A();
218 friend A::~A();
219 friend A &A::operator=(const A&);
232 friend void X<int>::foo();
233 friend X<int>::X();
234 friend X<int>::X(const X&);
257 // Return types, parameters and default arguments to friend functions.
262 friend I f(I i);
263 template<typename T> friend I g(I i);
283 friend class test9;
295 friend void test10::f(void);
320 friend void A::test0(int);
321 friend void A::test1(int);
337 friend void A::foo();
352 friend void bar(void) {