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.
Declared in <folly/Utility.h>
struct NonCopyableNonMovable;
| Name | Description |
|---|---|
NonCopyableNonMovable [constructor] | Constructors |
~NonCopyableNonMovable [destructor] | Destroys the base. |
operator= | Assignment operators |
| Name | Description |
|---|---|
Synchronized | This class is an adaptation of the folly::Synchronized class but is designed to work with coro-compatible mutexes like coro::SharedMutexFair instead. |