All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | Public Attributes | List of all members
Catch::Matchers::Vector::ApproxMatcher< T, AllocComp, AllocMatch > Struct Template Reference
+ Inheritance diagram for Catch::Matchers::Vector::ApproxMatcher< T, AllocComp, AllocMatch >:

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 = typename std::enable_if<std::is_constructible<double, T>::value>::type>
ApproxMatcherepsilon (T const &newEpsilon)
 
template<typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
ApproxMatchermargin (T const &newMargin)
 
template<typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
ApproxMatcherscale (T const &newScale)
 

Public Attributes

std::vector< T, AllocComp > const & m_comparator
 
Catch::Detail::Approx approx = Catch::Detail::Approx::custom()
 

Detailed Description

template<typename T, typename AllocComp, typename AllocMatch>
struct Catch::Matchers::Vector::ApproxMatcher< T, AllocComp, AllocMatch >

Definition at line 3681 of file catch.hpp.


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