#include <di/vocab/expected/if_success.h>
|
template<concepts::Expected T, concepts::InvocableTo< void, meta::Like< T, meta::ExpectedValue< T > > & > F>
requires (concepts::DecayConstructible<T>) |
constexpr auto | operator() (T &&expected, F &&function) const |
|
template<concepts::Expected T, concepts::InvocableTo< void > F>
requires (concepts::DecayConstructible<T> && concepts::LanguageVoid<meta::ExpectedValue<T>>) |
constexpr auto | operator() (T &&expected, F &&function) const |
|
◆ operator()() [1/2]
template<concepts::Expected T, concepts::InvocableTo< void,
meta::Like< T,
meta::ExpectedValue< T > > & > F>
requires (concepts::DecayConstructible<T>)
auto di::vocab::detail::IfSuccessFunction::operator() |
( |
T && | expected, |
|
|
F && | function ) const |
|
inlineconstexpr |
◆ operator()() [2/2]
template<concepts::Expected T, concepts::InvocableTo< void > F>
requires (concepts::DecayConstructible<T> && concepts::LanguageVoid<
meta::ExpectedValue<T>>)
auto di::vocab::detail::IfSuccessFunction::operator() |
( |
T && | expected, |
|
|
F && | function ) const |
|
inlineconstexpr |
The documentation for this struct was generated from the following file: