Iros
 
Loading...
Searching...
No Matches
di::vocab::detail::IfSuccessFunction Struct Reference

#include <di/vocab/expected/if_success.h>

Public Member Functions

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
 

Member Function Documentation

◆ 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: