1 class S 2 { 3 int (&fnref0)(void); 4 int (&fnref1)(void); 5 int (&fnref2)(void); 6 }; 7 foo(S & s)8void foo(S& s) 9 { 10 } 11 typedef int(&callback)(int); 12 fn0(void)13callback fn0(void) 14 { 15 } 16 fn1(void)17double(&fn1(void))(int) 18 { 19 } 20 fn2(callback c)21void fn2(callback c) 22 { 23 } 24