ResultOptFunctions< SUPER > Class Template Reference

#include <optional.h>

Inheritance diagram for ResultOptFunctions< SUPER >:

Public Member Functions

template<typename U >
Result< decltype(std::declval< typename SUPER::ValueType >).GetValueOr(std::declval< U && >)))> GetValueOr (U &&defaultValue) const
 
Result< typename SUPER::ValueType::ValueType > GetValueOrDefault () const
 
MAXON_ATTRIBUTE_FORCE_INLINE Result< typename SUPER::ValueType::ValueType > GetValueOrNull () const
 
template<typename U >
Result< typename SUPER::ValueType::ValueType > MoveValueOr (U &&defaultValue)
 
Result< typename SUPER::ValueType::ValueType > MoveValueOrDefault ()
 

Member Function Documentation

◆ GetValueOr()

Result<decltype(std::declval<typename SUPER::ValueType>).GetValueOr(std::declval<U&&>)))> GetValueOr ( U &&  defaultValue) const

◆ GetValueOrDefault()

Result<typename SUPER::ValueType::ValueType> GetValueOrDefault ( ) const

◆ GetValueOrNull()

MAXON_ATTRIBUTE_FORCE_INLINE Result<typename SUPER::ValueType::ValueType> GetValueOrNull ( ) const

◆ MoveValueOr()

Result<typename SUPER::ValueType::ValueType> MoveValueOr ( U &&  defaultValue)

◆ MoveValueOrDefault()

Result<typename SUPER::ValueType::ValueType> MoveValueOrDefault ( )