Template Class result_impl< void, ErrType, OkResultType, ErrResultType >¶
Defined in File result.hpp
Class Documentation¶
-
template<class
ErrType
, classOkResultType
, classErrResultType
>
classlegion::core::common
::
result_impl
<void, ErrType, OkResultType, ErrResultType>¶ Public Types
-
using
ok_type
= void¶
-
using
err_result_t
= ErrResultType¶
-
using
ok_result_t
= OkResultType¶
Public Functions
-
result_impl
(const result_impl&) = delete¶
-
result_impl
(result_impl&&) noexcept = default¶
-
result_impl &
operator=
(const result_impl&) = delete¶
-
result_impl &
operator=
(result_impl&&) noexcept = default¶
-
virtual
~result_impl
() = default¶
-
inline bool
valid
() const noexcept¶
-
inline bool
has_err
() noexcept¶
-
inline const try_static_cast_result<err_result_t, err_type>::type &
get_error
() const¶
-
inline try_static_cast_result<err_result_t, err_type>::type
get_error
()¶
-
inline void
rethrow
()¶
-
inline void
maybe_rethrow
()¶
-
using