ResultBase< void > Class Template Reference

#include <resultbase.h>

Public Types

using ValueType = void
 
using CopyType = const DummyParamType &
 
using MoveType = DummyParamType &
 
using DeleteType = const DummyParamType &&
 
template<typename T2 >
using ConstructibleFrom = std::enable_if< AlwaysFalse< T2 >::value >
 

Public Member Functions

 ResultBase ()
 
void GetValue () const
 
void GetValueAndError (ThreadReferencedError &error) const
 
void UncheckedGetValue () const
 
const ThreadReferencedErrorGetErrorStorage () const
 
ThreadReferencedErrorGetErrorStorage ()
 

Static Public Attributes

static const Bool HAS_ERROR
 

Protected Member Functions

 ResultBase (const Error *error)
 

Protected Attributes

ThreadReferencedError _error
 

Member Typedef Documentation

◆ ValueType

using ValueType = void

◆ CopyType

using CopyType = const DummyParamType&

◆ MoveType

using MoveType = DummyParamType&

◆ DeleteType

using DeleteType = const DummyParamType&&

◆ ConstructibleFrom

using ConstructibleFrom = std::enable_if<AlwaysFalse<T2>::value>

Constructor & Destructor Documentation

◆ ResultBase() [1/2]

◆ ResultBase() [2/2]

ResultBase ( const Error *  error)
explicitprotected

Member Function Documentation

◆ GetValue()

void GetValue ( void  ) const

◆ GetValueAndError()

void GetValueAndError ( ThreadReferencedError error) const

◆ UncheckedGetValue()

void UncheckedGetValue ( ) const

◆ GetErrorStorage() [1/2]

const ThreadReferencedError& GetErrorStorage ( ) const

◆ GetErrorStorage() [2/2]

ThreadReferencedError& GetErrorStorage ( )

Member Data Documentation

◆ HAS_ERROR

const Bool HAS_ERROR
static

◆ _error

ThreadReferencedError _error
protected