3 namespace boost_no_member_template_friends{
12 template<typename Y> friend class foobar;
13 template<typename Y> friend class foo;
14 template<typename Y> friend bool must_be_friend_proc(const foo<Y>& f);
19 foo(const foo<U>& f){ i = f.i; }
26 bool must_be_friend_proc(const foo<T>& f);
29 bool must_be_friend_proc(const foo<T>& f)
38 foobar(const foo<U>& f)
47 (void) &fd; // avoid "unused variable" warning
49 (void) &fb; // avoid "unused variable" warning