STX  1.0.0
List of all members
stx::NoneType Struct Reference

#include <option_result.h>

Detailed Description

value-variant Type for Option<T> representing no-value

Constexpr ?

C++ 17 and above

Constructor & Destructor Documentation

◆ NoneType() [1/3]

constexpr stx::NoneType::NoneType ( )
defaultnoexcept

◆ NoneType() [2/3]

constexpr stx::NoneType::NoneType ( NoneType const &  )
defaultnoexcept

◆ NoneType() [3/3]

constexpr stx::NoneType::NoneType ( NoneType &&  )
defaultnoexcept

◆ ~NoneType()

STX_CXX20_DESTRUCTOR_CONSTEXPR stx::NoneType::~NoneType ( )
defaultnoexcept

Member Function Documentation

◆ operator!=() [1/2]

constexpr bool stx::NoneType::operator!= ( NoneType const &  ) const
inlinenoexcept

◆ operator!=() [2/2]

template<typename T >
constexpr bool stx::NoneType::operator!= ( Some< T > const &  ) const
inlinenoexcept

◆ operator=() [1/2]

constexpr NoneType& stx::NoneType::operator= ( NoneType const &  )
defaultnoexcept

◆ operator=() [2/2]

constexpr NoneType& stx::NoneType::operator= ( NoneType &&  )
defaultnoexcept

◆ operator==() [1/2]

constexpr bool stx::NoneType::operator== ( NoneType const &  ) const
inlinenoexcept

◆ operator==() [2/2]

template<typename T >
constexpr bool stx::NoneType::operator== ( Some< T > const &  ) const
inlinenoexcept

The documentation for this struct was generated from the following file: