1 2 3 4 5 6 7 8
class Foo { public: Foo( int bar = 1 ); Foo( const Foo & ) = delete; Foo &operator= ( const Foo & ) = delete; ~Foo(); };