fit::nullable< T, true >

Summary

Public types

value_type using
T

Public functions

has_value() const
constexpr bool
nullable()
constexpr
nullable(decltype(nullptr))
constexpr
nullable(T value)
constexpr
nullable(const nullable & other)=default
constexpr
nullable(nullable && other)
constexpr
operator bool() const
constexpr
operator*()
constexpr T &
operator*() const
constexpr const T &
operator->()
constexpr T *
operator->() const
constexpr const T *
operator=(const nullable & other)=default
constexpr nullable &
operator=(nullable && other)
constexpr nullable &
operator=(decltype(nullptr))
constexpr nullable &
operator=(T value)
constexpr nullable &
reset()
constexpr void
swap(nullable & other)
constexpr void
value()&
constexpr T &
value() const &
constexpr const T &
value()&&
constexpr T &&
value() const &&
constexpr const T &&
value_or(U && default_value) const
constexpr T
~nullable()=default

Public types

value_type

T value_type

Public functions

has_value

constexpr bool has_value() const 

nullable

constexpr nullable()

nullable

constexpr nullable(
  decltype(nullptr)
)

nullable

constexpr nullable(
  T value
)

nullable

constexpr nullable(
  const nullable & other
)=default

nullable

constexpr nullable(
  nullable && other
)

operator bool

constexpr operator bool() const 

operator*

constexpr T & operator*()

operator*

constexpr const T & operator*() const 

operator->

constexpr T * operator->()

operator->

constexpr const T * operator->() const 

operator=

constexpr nullable & operator=(
  const nullable & other
)=default

operator=

constexpr nullable & operator=(
  nullable && other
)

operator=

constexpr nullable & operator=(
  decltype(nullptr)
)

operator=

constexpr nullable & operator=(
  T value
)

reset

constexpr void reset()

swap

constexpr void swap(
  nullable & other
)

value

constexpr T & value()&

value

constexpr const T & value() const &

value

constexpr T && value()&&

value

constexpr const T && value() const &&

value_or

constexpr T value_or(
  U && default_value
) const 

~nullable

 ~nullable()=default