![]() |
BRICKS
Small, useful blocks of code, to build bigger things.
|
This is the complete list of members for bricks::result< T, E >, including all inherited members.
and_instead(const result< U, error_type > &res) const -> result< U, error_type > | bricks::result< T, E > | inline |
and_then(Op &&op) const -> result< typename std::invoke_result_t< Op, value_type >::value_type, error_type > | bricks::result< T, E > | inline |
error_type typedef | bricks::result< T, E > | |
expect(const std::string &msg) const -> value_type | bricks::result< T, E > | inline |
expect_error(const std::string &msg) const -> error_type | bricks::result< T, E > | inline |
from_try_or(F &&f, error_type error_value) noexcept(std::is_nothrow_constructible_v< err< E >, error_type >) -> result | bricks::result< T, E > | inlinestatic |
from_try_or_default(F &&f) noexcept(std::is_nothrow_invocable_v< decltype(result< T, E >::from_try_or< F >)> &&std::is_nothrow_constructible_v< error_type >) -> result | bricks::result< T, E > | inlinestatic |
from_try_or_else(F &&f, OnError &&on_error) noexcept(std::is_nothrow_invocable_v< OnError > &&std::is_nothrow_constructible_v< result< T, E >, std::invoke_result_t< OnError > >) -> result | bricks::result< T, E > | inlinestatic |
is_error() const noexcept -> bool | bricks::result< T, E > | inline |
is_value() const noexcept -> bool | bricks::result< T, E > | inline |
map(F &&f) const -> result< std::invoke_result_t< F, value_type >, error_type > | bricks::result< T, E > | inline |
map_error(F &&f) const -> result< value_type, std::invoke_result_t< F, error_type > > | bricks::result< T, E > | inline |
map_or(std::invoke_result_t< F, value_type > default_value, F &&f) const -> std::invoke_result_t< F, value_type > | bricks::result< T, E > | inline |
map_or_else(G &&default_f, F &&f) const -> std::invoke_result_t< F, value_type > | bricks::result< T, E > | inline |
operator!=(const result &other) const noexcept -> bool | bricks::result< T, E > | inline |
operator=(const result &) noexcept(std::is_nothrow_copy_assignable_v< variant_t >) -> result &=default | bricks::result< T, E > | |
operator=(result &&) noexcept -> result &=default | bricks::result< T, E > | |
operator=(U in) noexcept -> result & | bricks::result< T, E > | inline |
operator==(const result &other) const noexcept -> bool | bricks::result< T, E > | inline |
or_else(Op &&op) const -> result< value_type, typename std::invoke_result_t< Op, error_type >::error_type > | bricks::result< T, E > | inline |
or_instead(const result< value_type, F > &res) const -> result< value_type, F > | bricks::result< T, E > | inline |
result()=delete | bricks::result< T, E > | |
result(const result &) noexcept(std::is_nothrow_copy_constructible_v< variant_t >)=default | bricks::result< T, E > | |
result(result &&) noexcept=default | bricks::result< T, E > | |
result(U in) noexcept(std::is_nothrow_move_constructible_v< U >) | bricks::result< T, E > | inline |
result(value_type in) noexcept(std::is_nothrow_move_constructible_v< ok< T > >) | bricks::result< T, E > | inline |
result(error_type in) noexcept(std::is_nothrow_move_constructible_v< err< E > >) | bricks::result< T, E > | inline |
std::hash(const result &r) const noexcept -> std::size_t | bricks::result< T, E > | friend |
unwrap() const -> value_type | bricks::result< T, E > | inline |
unwrap_error() const -> error_type | bricks::result< T, E > | inline |
unwrap_or(value_type default_value) const noexcept -> value_type | bricks::result< T, E > | inline |
unwrap_or_default() const noexcept -> value_type | bricks::result< T, E > | inline |
unwrap_or_else(F &&f) const -> value_type | bricks::result< T, E > | inline |
value_type typedef | bricks::result< T, E > | |
~result()=default | bricks::result< T, E > |