1 struct Foo 2 { 3 ~Foo (); 4 }; 5 6 struct Bar 7 { 8 ~Bar () 9 #if __cplusplus < 201103L 10 throw(int) 11 #else 12 noexcept(false) 13 #endif 14 ; 15 Foo f; 16 }; 17