proxygen
|
#include <opt.h>
Public Member Functions | |
opt ()=default | |
opt (T &&t) noexcept(std::is_nothrow_move_constructible< T >::value) | |
opt (const T &t) | |
opt (opt &&that) noexcept(std::is_nothrow_move_constructible< T >::value) | |
opt (const opt &that) | |
~opt () | |
opt & | operator= (opt &&that) noexcept(std::is_nothrow_move_constructible< T >::value &&std::is_nothrow_move_assignable< T >::value) |
opt & | operator= (const opt &that) |
opt & | operator= (T &&t) noexcept(std::is_nothrow_move_constructible< T >::value &&std::is_nothrow_move_assignable< T >::value) |
opt & | operator= (const T &t) |
operator bool () const noexcept | |
T & | operator* () noexcept |
const T & | operator* () const noexcept |
Private Member Functions | |
T * | ptr () |
const T * | ptr () const |
void | reset () |
Private Attributes | |
bool | empty_ = true |
std::aligned_union_t< 0, T > | data_ |
|
default |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlineprivate |
Definition at line 43 of file opt.h.
Referenced by folly::pushmi::detail::opt< std::tuple< std::decay_t< TN >... > >::operator*(), folly::pushmi::detail::opt< std::tuple< std::decay_t< TN >... > >::operator=(), folly::pushmi::detail::opt< std::tuple< std::decay_t< TN >... > >::opt(), and folly::pushmi::detail::opt< std::tuple< std::decay_t< TN >... > >::reset().
|
inlineprivate |
|
inlineprivate |
Definition at line 49 of file opt.h.
Referenced by folly::pushmi::detail::opt< std::tuple< std::decay_t< TN >... > >::operator=(), and folly::pushmi::detail::opt< std::tuple< std::decay_t< TN >... > >::~opt().
|
private |
|
private |
Definition at line 41 of file opt.h.
Referenced by folly::pushmi::detail::opt< std::tuple< std::decay_t< TN >... > >::operator bool().