ResultOptFunctions< SUPER > Class Template Reference

#include <optional.h>

Inheritance diagram for ResultOptFunctions< SUPER >:

Public Member Functions

template<typename U >
Result< typename SUPER::ValueType::ValueType > GetValueOr (U &&defaultValue) const
 
Result< typename SUPER::ValueType::ValueType > GetValueOrNull () const
 
template<typename U >
Result< typename SUPER::ValueType::ValueType > MoveValueOr (U &&defaultValue)
 
Result< typename SUPER::ValueType::ValueType > MoveValueOrNull ()
 

Member Function Documentation

◆ GetValueOr()

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

◆ GetValueOrNull()

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

◆ MoveValueOr()

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

◆ MoveValueOrNull()

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