alt | scl::utils::Result< Value, Error > | protected |
andThen(std::function< Result< T, E >(const value_type &)> mapper) const | scl::utils::Result< Value, Error > | inline |
asOptional() const | scl::utils::Result< Value, Error > | inline |
emplaceErr(Args &&... args) | scl::utils::Result< Value, Error > | inlinestatic |
emplaceOk(Args &&... args) | scl::utils::Result< Value, Error > | inlinestatic |
Err(E &&err) | scl::utils::Result< Value, Error > | inlinestatic |
err(E &&error) | scl::utils::Result< Value, Error > | inlinestatic |
error() const | scl::utils::Result< Value, Error > | inline |
errOr(const error_type &error) const | scl::utils::Result< Value, Error > | inline |
errOr(std::function< const error_type &()> factory) const | scl::utils::Result< Value, Error > | inline |
error_type typedef | scl::utils::Result< Value, Error > | |
flatMap(std::function< Result< T, E >(const value_type &)> mapper) const | scl::utils::Result< Value, Error > | inline |
flatMapError(std::function< Result< T, E >(const error_type &)> mapper) const | scl::utils::Result< Value, Error > | inline |
get() const | scl::utils::Result< Value, Error > | inline |
impl_type typedef | scl::utils::Result< Value, Error > | |
isErr() const | scl::utils::Result< Value, Error > | inline |
isOk() const | scl::utils::Result< Value, Error > | inline |
map(std::function< T(const value_type &)> mapper) const | scl::utils::Result< Value, Error > | inline |
mapBoth(std::function< T(const value_type &)> valueMapper, std::function< E(const error_type &)> errorMapper) const | scl::utils::Result< Value, Error > | inline |
mapError(std::function< E(const error_type &)> mapper) const | scl::utils::Result< Value, Error > | inline |
ok(T &&value) | scl::utils::Result< Value, Error > | inlinestatic |
Ok(T &&value) | scl::utils::Result< Value, Error > | inlinestatic |
okOr(const value_type &value) const | scl::utils::Result< Value, Error > | inline |
okOr(std::function< const value_type &()> factory) const | scl::utils::Result< Value, Error > | inline |
okOrThrow(E ex) const | scl::utils::Result< Value, Error > | inline |
operator bool() const | scl::utils::Result< Value, Error > | inline |
operator const value_type &() const | scl::utils::Result< Value, Error > | inline |
operator*() const | scl::utils::Result< Value, Error > | inline |
operator->() const | scl::utils::Result< Value, Error > | inline |
Result()=delete | scl::utils::Result< Value, Error > | protected |
Result(details::result_value, T &&value) | scl::utils::Result< Value, Error > | inlineprotected |
Result(details::result_error, E &&err) | scl::utils::Result< Value, Error > | inlineprotected |
then(std::function< T(const value_type &)> mapper) const | scl::utils::Result< Value, Error > | inline |
toOptional() const | scl::utils::Result< Value, Error > | inline |
value() const | scl::utils::Result< Value, Error > | inline |
value_type typedef | scl::utils::Result< Value, Error > | |