Hall A ROOT/C++ Analyzer (podd)
|
Definition at line 364 of file optional.hpp.
Public Types | |
typedef T | value_type |
Public Member Functions | |
template<class... Args> | |
void | emplace (Args &&... args) |
template<class U , class... Args> | |
void | emplace (initializer_list< U > il, Args &&... args) |
constexpr bool | has_value () const noexcept |
constexpr | operator bool () const noexcept |
T & | operator* () |
constexpr T const & | operator* () const |
T * | operator-> () |
constexpr T const * | operator-> () const |
optional & | operator= (const optional &rhs) |
optional & | operator= (nullopt_t) noexcept |
optional & | operator= (optional &&rhs) noexcept(is_nothrow_move_assignable< T >::value &&is_nothrow_move_constructible< T >::value) |
template<class U > | |
auto | operator= (U &&v) -> typename enable_if< is_same< typename decay< U >::type, T >::value, optional & >::type |
constexpr | optional () noexcept |
optional (const optional &rhs) | |
constexpr | optional (const T &v) |
template<class... Args> | |
constexpr | optional (in_place_t, Args &&... args) |
template<class U , class... Args, TR2_OPTIONAL_REQUIRES(is_constructible< T, std::initializer_list< U > >) > | |
OPTIONAL_CONSTEXPR_INIT_LIST | optional (in_place_t, std::initializer_list< U > il, Args &&... args) |
constexpr | optional (nullopt_t) noexcept |
optional (optional &&rhs) noexcept(is_nothrow_move_constructible< T >::value) | |
constexpr | optional (T &&v) |
void | reset () noexcept |
void | swap (optional< T > &rhs) noexcept(is_nothrow_move_constructible< T >::value &&noexcept(detail_::swap_ns::adl_swap(declval< T & >(), declval< T & >()))) |
T & | value () |
constexpr T const & | value () const |
template<class V > | |
constexpr T | value_or (V &&v) const |
~optional ()=default | |
Private Member Functions | |
void | clear () noexcept |
T & | contained_val () |
constexpr const T & | contained_val () const |
std::remove_const< T >::type * | dataptr () |
constexpr const T * | dataptr () const |
template<class... Args> | |
void | initialize (Args &&... args) noexcept(noexcept(T(std::forward< Args >(args)...))) |
template<class U , class... Args> | |
void | initialize (std::initializer_list< U > il, Args &&... args) noexcept(noexcept(T(il, std::forward< Args >(args)...))) |
constexpr bool | initialized () const noexcept |
#include <optional.hpp>
typedef T std::experimental::optional< T >::value_type |
Definition at line 410 of file optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 413 of file optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 414 of file optional.hpp.
|
inline |
Definition at line 416 of file optional.hpp.
|
inlinenoexcept |
Definition at line 425 of file optional.hpp.
|
inlineconstexpr |
Definition at line 434 of file optional.hpp.
|
inlineconstexpr |
Definition at line 436 of file optional.hpp.
|
inlineexplicitconstexpr |
Definition at line 439 of file optional.hpp.
|
inlineexplicit |
Definition at line 443 of file optional.hpp.
|
default |
|
inlineprivatenoexcept |
Definition at line 388 of file optional.hpp.
|
inlineprivate |
Definition at line 385 of file optional.hpp.
|
inlineconstexprprivate |
Definition at line 384 of file optional.hpp.
|
inlineprivate |
Definition at line 371 of file optional.hpp.
|
inlineconstexprprivate |
Definition at line 372 of file optional.hpp.
|
inline |
Definition at line 488 of file optional.hpp.
|
inline |
Definition at line 495 of file optional.hpp.
|
inlineconstexprnoexcept |
Definition at line 513 of file optional.hpp.
|
inlineprivatenoexcept |
Definition at line 394 of file optional.hpp.
|
inlineprivatenoexcept |
Definition at line 402 of file optional.hpp.
|
inlineconstexprprivatenoexcept |
Definition at line 370 of file optional.hpp.
|
inlineexplicitconstexprnoexcept |
Definition at line 512 of file optional.hpp.
|
inline |
Definition at line 564 of file optional.hpp.
|
inlineconstexpr |
Definition at line 560 of file optional.hpp.
|
inline |
Definition at line 555 of file optional.hpp.
|
inlineconstexpr |
Definition at line 515 of file optional.hpp.
|
inline |
Definition at line 456 of file optional.hpp.
|
inlinenoexcept |
Definition at line 450 of file optional.hpp.
|
inlinenoexcept |
Definition at line 464 of file optional.hpp.
|
inline |
Definition at line 474 of file optional.hpp.
|
inlinenoexcept |
Definition at line 616 of file optional.hpp.
|
inlinenoexcept |
Definition at line 502 of file optional.hpp.
|
inline |
Definition at line 573 of file optional.hpp.
|
inlineconstexpr |
Definition at line 569 of file optional.hpp.
|
inlineconstexpr |
Definition at line 608 of file optional.hpp.