6 ms·
boost has an elegant solution that I like, inherit from boost::noncopyable. class Foo : boost::noncopyable { // ... };
by syncsynchalt 14y ago
boost has an elegant solution that I like, inherit from boost::noncopyable.
class Foo : boost::noncopyable
{
// ...
};