Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::Result< void, void > Class Reference

#include <Result.h>

Public Types

using ResultType = void
 
using ErrorType = void
 

Public Member Functions

 operator bool () const noexcept
 Whether it is an error.
 
bool has_error () const noexcept
 Whether it is an error.
 

Static Public Member Functions

static Result error () noexcept
 
static Result success () noexcept
 

Private Member Functions

 Result ()=default
 

Private Attributes

bool is_success
 

Member Typedef Documentation

◆ ErrorType

using sese::Result< void, void >::ErrorType = void

◆ ResultType

using sese::Result< void, void >::ResultType = void

Constructor & Destructor Documentation

◆ Result()

sese::Result< void, void >::Result ( )
privatedefault

Member Function Documentation

◆ error()

static Result sese::Result< void, void >::error ( )
inlinestaticnoexcept

◆ has_error()

bool sese::Result< void, void >::has_error ( ) const
inlinenoexcept

Whether it is an error.

Return values
turehas error

◆ operator bool()

sese::Result< void, void >::operator bool ( ) const
inlineexplicitnoexcept

Whether it is an error.

Return values
turehas error

◆ success()

static Result sese::Result< void, void >::success ( )
inlinestaticnoexcept

Member Data Documentation

◆ is_success

bool sese::Result< void, void >::is_success
private

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