|
JSON Voorhees
Killer JSON for C++
|
A wrapper type for creating a result with result_state::error.
More...
#include <jsonv/result.hpp>
Public Types | |
| using | error_type = TError |
Public Member Functions | |
| template<typename... TArgs> | |
| constexpr | error (TArgs &&... args) noexcept(std::is_nothrow_constructible_v< error_type, TArgs... >) |
| const error_type & | get () const & |
| error_type & | get () & |
| error_type && | get () && |
A wrapper type for creating a result with result_state::error.
It is implicitly convertible to any result with a convertible-to error_type.
Definition at line 625 of file result.hpp.
Definition at line 629 of file result.hpp.
|
inlineexplicitconstexprnoexcept |
Definition at line 633 of file result.hpp.
|
inline |
Definition at line 638 of file result.hpp.
|
inline |
Definition at line 639 of file result.hpp.
|
inline |
Definition at line 637 of file result.hpp.