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

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

Public Member Functions

template<concepts::Expected T, concepts::InvocableTo< void, meta::Like< T, meta::ExpectedError< T > > & > F>
requires (concepts::DecayConstructible<T>)
constexpr auto operator() (T &&expected, F &&function) const
 
template<concepts::Expected T, typename F>
requires (concepts::DecayConstructible<T> && concepts::LanguageVoid<meta::ExpectedError<T>>)
constexpr auto operator() (T &&expected, F &&) const
 

Member Function Documentation

◆ operator()() [1/2]

template<concepts::Expected T, typename F>
requires (concepts::DecayConstructible<T> && concepts::LanguageVoid<meta::ExpectedError<T>>)
auto di::vocab::detail::IfErrorFunction::operator() ( T && expected,
F &&  ) const
inlineconstexpr

◆ operator()() [2/2]

template<concepts::Expected T, concepts::InvocableTo< void, meta::Like< T, meta::ExpectedError< T > > & > F>
requires (concepts::DecayConstructible<T>)
auto di::vocab::detail::IfErrorFunction::operator() ( T && expected,
F && function ) const
inlineconstexpr

The documentation for this struct was generated from the following file: