1 template<class T> 2 void f(const T&) 3 { 4 struct B { 5 6 void g (T); 7 }; 8 B b; 9 } 10 void g() 11 { 12 f(42); 13 } 14 15