1 2 3 4 5 6 7 8 9 10 11 12
class Foo { public: Foo( int bar) = 0; Foo( int bar = 777 ); Foo( const Foo & ) = delete; Foo( int boo ) = default; Foo( unsigned int ) = default; Foo( unsigned int boo=999 ); Foo &operator= ( const Foo & ) = delete; ~Foo(); };