PyTorch
|
#include <Optional.h>
Public Member Functions | |
constexpr | constexpr_optional_base () noexcept |
constexpr | constexpr_optional_base (const constexpr_optional_base< T > &v) |
constexpr | constexpr_optional_base (constexpr_optional_base< T > &&v) noexcept(std::is_nothrow_move_constructible< T >::value) |
constexpr | constexpr_optional_base (const T &v) |
constexpr | constexpr_optional_base (T &&v) |
template<class... Args> | |
constexpr | constexpr_optional_base (in_place_t, Args &&... args) |
template<class U , class... Args, typename std::enable_if< std::is_constructible< T, std::initializer_list< U > > ::value, bool >::type = false> | |
constexpr | constexpr_optional_base (in_place_t, std::initializer_list< U > il, Args &&... args) |
~constexpr_optional_base ()=default | |
constexpr_optional_base & | operator= (const constexpr_optional_base &rhs) |
constexpr_optional_base & | operator= (constexpr_optional_base &&rhs) noexcept(std::is_nothrow_move_assignable< T >::value &&std::is_nothrow_move_constructible< T >::value) |
constexpr bool | initialized () const noexcept |
void | setInitialized (bool init) noexcept |
Public Attributes | |
bool | init_ |
constexpr_storage_t< T > | storage_ |
|
inlineconstexprnoexcept |
|
inlineexplicitconstexpr |
|
inlineexplicitconstexprnoexcept |
|
inlineexplicitconstexpr |
|
inlineexplicitconstexpr |
|
inlineexplicitconstexpr |
|
inlineexplicitconstexpr |
|
default |
|
inlineconstexprnoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
bool c10::constexpr_optional_base< T >::init_ |
constexpr_storage_t<T> c10::constexpr_optional_base< T >::storage_ |