6#ifndef GIMO_EXT_STD_EXPECTED_HPP
7#define GIMO_EXT_STD_EXPECTED_HPP
19template <
typename Value,
typename Error>
33 explicit(
false)
constexpr operator expected()
const noexcept
48 requires std::constructible_from<expected, std::unexpect_t, E&&>
51 return expected{std::unexpect, std::forward<E>(error)};
Definition AndThen.hpp:21
Definition StdExpected.hpp:25
friend constexpr bool operator==(expected const &expected, null_t const tag) noexcept
Definition StdExpected.hpp:27
std::expected< V, Error > rebind_value
Definition StdExpected.hpp:42
static constexpr null_t null
Definition StdExpected.hpp:39
static constexpr expected from_error(E &&error)
Definition StdExpected.hpp:49
std::expected< Value, E > rebind_error
Definition StdExpected.hpp:45
std::expected< Value, Error > expected
Definition StdExpected.hpp:22
The central customization point for the library.
Definition Common.hpp:102