![]() |
Apache Ignite C++ Client
|
#include <ignite_result.h>
Public Member Functions | |
| ignite_result (T &&value) | |
| ignite_result (ignite_error &&error) | |
| bool | has_value () const noexcept |
| bool | has_error () const noexcept |
| T && | value () && |
| const T & | value () const & |
| T & | value () & |
| ignite_error && | error () && |
| const ignite_error & | error () const & |
| ignite_error & | error () & |
| operator bool () const noexcept | |
Ignite Result.
|
inline |
Constructor.
| value | Value. |
|
inline |
Constructor.
| error | Error. |
|
inlinenodiscard |
Get error.
|
inlinenodiscard |
Get error.
|
inlinenodiscard |
Get error.
|
inlinenodiscardnoexcept |
Has error.
true if the result has error.
|
inlinenodiscardnoexcept |
Has value.
true if the result has value.
|
inlineexplicitnoexcept |
Bool operator. Can be used to check the result for an error.
true if the result does not contain error.
|
inlinenodiscard |
Get value.
|
inlinenodiscard |
Get value.
|
inlinenodiscard |
Get value.