Template Function Catch::Matchers::Approx

Function Documentation

template<typename T, typename AllocComp = std::allocator<T>, typename AllocMatch = AllocComp>
ApproxMatcher<T, AllocComp, AllocMatch> Catch::Matchers::Approx(std::vector<T, AllocComp> const &comparator)

Creates a matcher that matches vectors that comparator as an element.