Sleeping Wombat Common Library  0.50.0
swCommonLibrary
Public Types | Public Member Functions | Private Attributes | List of all members
sw::Nullable< void > Class Template Reference

Alexandrescu Expected type for error handling. More...

#include <Nullable.h>

Public Types

typedef ExceptionPtr ErrorType
 

Public Member Functions

 Nullable (Result result)
 
 Nullable (const ErrorType &error)
 
 Nullable (const std::string &error)
 
template<typename ExceptionType >
 Nullable (std::shared_ptr< ExceptionType > error)
 
bool IsValid ()
 
std::string GetErrorReason ()
 
ErrorType GetError ()
 

Private Attributes

ErrorType Error
 
bool m_isValid
 

Detailed Description

template<>
class sw::Nullable< void >

Alexandrescu Expected type for error handling.


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