#include <di/vocab/expected/as_fallible.h>
|
template<concepts::Expected T>
requires (concepts::ConstructibleFrom<meta::Decay<T>, T>) |
constexpr auto | operator() (T &&value) const -> meta::Decay< T > |
|
template<typename T, typename R = Expected<meta::UnwrapRefRValue<T>, void>>
requires (!concepts::Expected<T> && concepts::ConstructibleFrom<R, T>) |
constexpr auto | operator() (T &&value) const -> R |
|
◆ operator()() [1/2]
template<concepts::Expected T>
requires (concepts::ConstructibleFrom<
meta::Decay<T>, T>)
auto di::vocab::detail::AsFallibleFunction::operator() |
( |
T && | value | ) |
const -> meta::Decay<T> |
|
inlineconstexpr |
◆ operator()() [2/2]
template<typename T, typename R = Expected<meta::UnwrapRefRValue<T>, void>>
requires (!concepts::Expected<T> && concepts::ConstructibleFrom<R, T>)
auto di::vocab::detail::AsFallibleFunction::operator() |
( |
T && | value | ) |
const -> R |
|
inlineconstexpr |
The documentation for this struct was generated from the following file: