Wraps a T that can be replaced in place without allocation or indirection.
Synopsis
Declared in <folly/Replaceable.h>
template<class T>
class Replaceable
: public replaceable_detail::dtor_mixin<T>
, public replaceable_detail::default_and_move_ctor_mixin<T>
, public replaceable_detail::copy_ctor_mixin<T>
, public replaceable_detail::move_assignment_mixin<T>
, public replaceable_detail::copy_assignment_mixin<T>
Base Classes
Name |
Description |
Mixin supplying a destructor for |
|
|
Mixin supplying default and move constructors for |
Mixin supplying the copy constructor for |
|
|
Mixin supplying the move‐assignment operator for |
|
Mixin supplying the copy‐assignment operator for |
Type Aliases
Name |
Description |
The type of the wrapped object. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroys the contained object. |
Assignment operators |
|
|
|
Accesses the contained object. |
|
Member access operators |
|
|
Deduction Guides
Name |
Description |
Deduces |
Friends
Name |
Description |
|
Mixin supplying the copy‐assignment operator for |
|
Mixin supplying the move‐assignment operator for |
|
Mixin supplying the copy constructor for |
|
Mixin supplying default and move constructors for |
Mixin supplying a destructor for |
Non-Member Functions
Name |
Description |
Makes a |
|
Makes a |
|
Makes a |
Created with MrDocs