|
| concept | applicable_to |
| | Evaluates whether a Nullable type is compatible with the specific Algorithm.
|
| concept | null_for |
| | Concept describing the relationship between a Nullable type and its null state.
|
| concept | nullable |
| | Concept describing a type that can be used as a monad in the pipeline.
|
| concept | constructible_from_value |
| | Concept determining whether the Nullable is constructible with the specified argument.
|
| concept | rebindable_value_to |
| | Concept determining whether the Nullable type supports rebinding its value-type.
|
| concept | expected_like |
| | Concept describing a type that acts like std::expected (has both a value and an error channel).
|
| concept | constructible_from_error |
| | Concept determining whether the Expected type supports rebinding its error-type.
|
| concept | rebindable_error_to |
| | Concept determining whether the Expected type supports rebinding its error-type.
|
| concept | pipeline |
| | Checks whether the given type is a specialization of gimo::Pipeline.
|
| concept | processable_by |
| | Evaluates whether a Nullable type can be processed by the entire pipeline.
|
|
| template<typename Action> |
| constexpr auto | and_then (Action &&action) |
| | Creates a pipeline step that applies a function returning a nullable type.
|
| template<typename Action> |
| constexpr auto | or_else (Action &&action) |
| | Creates a pipeline step that handles the null/error case.
|
| template<typename Action> |
| constexpr auto | transform (Action &&action) |
| | Creates a pipeline step that transforms the underlying value.
|
| template<typename Action> |
| constexpr auto | transform_error (Action &&action) |
| | Creates a pipeline step that transforms the error of an expected-like type.
|
| template<std::invocable Action> |
| constexpr auto | value_or_else (Action &&action) |
| | Creates a terminating pipeline step that returns the contained value or invokes a fallback action if the nullable is null.
|
| template<typename Alternative> |
| constexpr auto | value_or (Alternative &&alternative) |
| | Creates a terminating pipeline step that returns the contained value or a specified alternative if the nullable is null.
|
| template<nullable Nullable, typename Arg> |
| constexpr Nullable | construct_from_value (Arg &&arg) noexcept(detail::nothrow_constructible_from_value< Nullable, Arg && >) |
| | Constructs the specified Nullable with the provided value.
|
| template<nullable Nullable, pipeline Pipeline> |
| constexpr auto | apply (Nullable &&opt, Pipeline &&steps) |
| | Applies nullable input on the pipeline.
|