7 // 7.3.3 the using declaration
17 struct dominica: belieze {
19 void f(int i) { f('c'); } // calls belieze::f(char)
20 void g(int i) { g('c'); } // recursively calls dominca::g(int)
26 void f(int i) { gtest = 1; }
29 using A::f; //f is a synonym for A::f, that is for A::f(int)
32 void f(char c) { gtest = 3; }
36 f('a'); //calls f(int), even though A::f(char) exits
41 using A::f; //f is a synonm for A::f, that is for A::f(int) and A::f(char)
42 f('a'); //calls f(char)