mimic++ v10.0.1
Loading...
Searching...
No Matches
mimicpp::MatchEvaluationContext< Args > Class Template Reference

#include <GeneralMatchers.hpp>

Inheritance diagram for mimicpp::MatchEvaluationContext< Args >:
[legend]

Public Types

using expectation_refs = std::tuple<std::unwrap_reference_t<Args> const&...>

Public Member Functions

constexpr MatchEvaluationContext (expectation_refs expectations, CaptureSink captureSink)
constexpr expectation_refs expectations () const noexcept
template<typename T>
void capture (T &&value)
template<typename T>
void capture (T &&value, format::format_string< format::fallback_formattable_t< T > > fmt)

Member Typedef Documentation

◆ expectation_refs

template<util::unqualified... Args>
using mimicpp::MatchEvaluationContext< Args >::expectation_refs = std::tuple<std::unwrap_reference_t<Args> const&...>

Constructor & Destructor Documentation

◆ MatchEvaluationContext()

template<util::unqualified... Args>
mimicpp::MatchEvaluationContext< Args >::MatchEvaluationContext ( expectation_refs expectations,
CaptureSink captureSink )
inlineexplicitnodiscardconstexpr

Member Function Documentation

◆ capture() [1/2]

template<util::unqualified... Args>
template<typename T>
void mimicpp::MatchEvaluationContext< Args >::capture ( T && value)
inline

◆ capture() [2/2]

template<util::unqualified... Args>
template<typename T>
void mimicpp::MatchEvaluationContext< Args >::capture ( T && value,
format::format_string< format::fallback_formattable_t< T > > fmt )
inline

◆ expectations()

template<util::unqualified... Args>
expectation_refs mimicpp::MatchEvaluationContext< Args >::expectations ( ) const
inlinenodiscardconstexprnoexcept

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