Wrap a movable Inner type to make it must‐use‐immediately and immovable.
Synopsis
Declared in <folly/lang/MustUseImmediately.h>
template<typename Inner>
class wrap_must_use_immediately_t
: public Inner
, public must_use_immediately_crtp<wrap_must_use_immediately_t<Inner>>
Description
Inherits Inner and supplies an unsafe_mover() implementation for it.
Base Classes
Name |
Description |
|
|
CRTP base that makes a derived type must‐use‐immediately and immovable. |
Type Aliases
Name |
Description |
Member tag marking the derived type as must‐use‐immediately. |
|
Alias‐safety tag marking the wrapper as |
Member Functions
Name |
Description |
|
Reconstruct the wrapper from a curried mover produced by |
|
Deleted copy assignment; the type is non‐copyable. |
|
Deleted move assignment; the type is immovable. |
Static Member Functions
Name |
Description |
Move |
Using Declarations
Name |
Created with MrDocs