| 
| constexpr  | ResultWrapper (ErrorType error) noexcept | 
|   | エラー設定用コンストラクタ  
  | 
|   | 
| 
constexpr  | ResultWrapper () noexcept | 
|   | コンストラクタ 
  | 
|   | 
| constexpr ErrorType  | GetError () const noexcept | 
|   | エラーを取得  
  | 
|   | 
| constexpr std::underlying_type_t< ErrorType >  | GetErrorCode () const noexcept | 
|   | エラーコードを取得  
  | 
|   | 
| constexpr void  | SetError (ErrorType error) noexcept | 
|   | エラーを設定  
  | 
|   | 
| 
constexpr void  | Success () noexcept | 
|   | エラーを無効化 
  | 
|   | 
| constexpr ResultWrapper &  | operator= (const ErrorType &rhs) noexcept | 
|   | エラーの代入演算子  
  | 
|   | 
| constexpr bool  | operator== (const ErrorType &rhs) const noexcept | 
|   | エラーの等価演算子  
  | 
|   | 
| constexpr bool  | operator!= (const ErrorType &rhs) const noexcept | 
|   | エラーの不等価演算子  
  | 
|   | 
| constexpr bool  | HasError () const noexcept | 
|   | エラーが発生しているかを取得  
  | 
|   | 
| constexpr bool  | IsSucceeded () const noexcept | 
|   | エラーが発生していないかを取得  
  | 
|   | 
template<typename ErrorType, ErrorType noErrorValue = ErrorType(), ErrorType defaultErrorValue = noErrorValue>
class MGL::ResultWrapper< ErrorType, noErrorValue, defaultErrorValue >
エラーをラップするテンプレートクラス 
- テンプレート引数
 - 
  
    | ErrorType | エラーを表す型  | 
    | noErrorValue | ErrorTypeで指定した型で,エラーが発生していない事を表す値  | 
    | defaultErrorValue | クラス生成時の初期値.省略時はnoErrorValueと同じ  |