Base that disallows copy but allows move in derived types.
Declared in <folly/Utility.h>
using moveonly_::MoveOnly;
| Name | Description |
|---|---|
MoveOnly | Disallow copy but not move in derived types. This is essentially boost::noncopyable (the implementation is almost identical), except: 1) It doesn't delete move constructor and move assignment. 2) It has public methods, enabling aggregate initialization. |