folly::NonCopyableNonMovable

Base that disallows both copy and move in derived types.

Synopsis

Declared in <folly/Utility.h>

using moveonly_::NonCopyableNonMovable;

Introduced Symbols

NameDescription
NonCopyableNonMovable Disallow copy and move for derived types. This is essentially boost::noncopyable (the implementation is almost identical), except it has public methods, enabling aggregate initialization.