Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::Result< Value, Error > Struct Template Reference

Public Member Functions

 Result (Value val)
 Result (Error err)
Value GetValue () const
Error GetError () const
bool HasValue () const noexcept
bool HasError () const noexcept
 operator bool () const noexcept

Public Attributes

std::variant< Value, Error > storage

The documentation for this struct was generated from the following file:
  • /github/workspace/sources/code/Common/Result.hpp