Horizon
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Catch::Matchers::ApproxMatcher< T, AllocComp, AllocMatch > Class Template Referencefinal
Inheritance diagram for Catch::Matchers::ApproxMatcher< T, AllocComp, AllocMatch >:
Catch::Matchers::MatcherBase< std::vector< T, AllocMatch > > Catch::Matchers::MatcherUntypedBase

Public Member Functions

 ApproxMatcher (std::vector< T, AllocComp > const &comparator)
 
bool match (std::vector< T, AllocMatch > const &v) const override
 
std::string describe () const override
 
template<typename = std::enable_if_t<std::is_constructible<double, T>::value>>
ApproxMatcherepsilon (T const &newEpsilon)
 
template<typename = std::enable_if_t<std::is_constructible<double, T>::value>>
ApproxMatchermargin (T const &newMargin)
 
template<typename = std::enable_if_t<std::is_constructible<double, T>::value>>
ApproxMatcherscale (T const &newScale)
 
- Public Member Functions inherited from Catch::Matchers::MatcherUntypedBase
 MatcherUntypedBase (MatcherUntypedBase const &)=default
 
 MatcherUntypedBase (MatcherUntypedBase &&)=default
 
MatcherUntypedBaseoperator= (MatcherUntypedBase const &)=delete
 
MatcherUntypedBaseoperator= (MatcherUntypedBase &&)=delete
 
std::string toString () const
 

Additional Inherited Members

- Protected Attributes inherited from Catch::Matchers::MatcherUntypedBase
std::string m_cachedToString
 

Member Function Documentation

◆ describe()

template<typename T , typename AllocComp , typename AllocMatch >
std::string Catch::Matchers::ApproxMatcher< T, AllocComp, AllocMatch >::describe ( ) const
inlineoverridevirtual

◆ match()

template<typename T , typename AllocComp , typename AllocMatch >
bool Catch::Matchers::ApproxMatcher< T, AllocComp, AllocMatch >::match ( std::vector< T, AllocMatch > const &  v) const
inlineoverridevirtual

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