Template Class optional
Defined in File optional.hpp
Class Documentation
-
template<typename T>
class optional class optional
optional access error
optional
Public Functions
- inline optional_constexpr optional () optional_noexcept
- inline optional_constexpr optional (nullopt_t) optional_noexcept
-
inline optional(value_type const &value)
-
inline ~optional()
- inline optional & operator= (nullopt_t) optional_noexcept
- inline optional_constexpr value_type const * operator-> () const
- inline optional_constexpr14 value_type * operator-> ()
- inline optional_constexpr value_type const & operator* () const optional_ref_qual
- inline optional_constexpr14 value_type & operator* () optional_ref_qual
- inline optional_constexpr operator safe_bool () const optional_noexcept
- inline optional_constexpr bool has_value () const optional_noexcept
- inline optional_constexpr14 value_type const & value () const optional_ref_qual
- inline optional_constexpr14 value_type & value () optional_ref_qual
- template<typename U> inline optional_constexpr value_type value_or (U const &v) const
- inline void reset () optional_noexcept