folly::moveonly_::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.

Synopsis

Declared in <folly/Utility.h>

struct NonCopyableNonMovable;

Member Functions

NameDescription
NonCopyableNonMovable [constructor]Constructors
~NonCopyableNonMovable [destructor]Destroys the base.
operator= Assignment operators

Derived Classes

NameDescription
Synchronized This class is an adaptation of the folly::Synchronized class but is designed to work with coro-compatible mutexes like coro::SharedMutexFair instead.