Octane API Client
Loading...
Searching...
No Matches
Public Member Functions | List of all members
octane::error_t< T > Class Template Reference

Utility class that can be used when we only want to specify quasi-normal state types. More...

#include <result.h>

Public Member Functions

 error_t (const T &error)
 
 error_t (T &&error)
 
template<typename T_OK , typename T_Error >
 operator Result< T_OK, T_Error > ()
 

Detailed Description

template<typename T>
class octane::error_t< T >

Utility class that can be used when we only want to specify quasi-normal state types.

octane::errorで内部的に用いられる型。 任意のResultにキャストすることができる。 Types used internally in octane::error. Can be cast to any Result.

Template Parameters
TType of quasi-normal state.

Constructor & Destructor Documentation

◆ error_t() [1/2]

template<typename T >
octane::error_t< T >::error_t ( const T &  error)
inlineexplicit
Here is the call graph for this function:

◆ error_t() [2/2]

template<typename T >
octane::error_t< T >::error_t ( T &&  error)
inlineexplicit
Here is the call graph for this function:

Member Function Documentation

◆ operator Result< T_OK, T_Error >()

template<typename T >
template<typename T_OK , typename T_Error >
octane::error_t< T >::operator Result< T_OK, T_Error > ( )
inline
Here is the call graph for this function:

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