Template Function Catch::Matchers::UnorderedRangeEquals(RangeLike&&)

Function Documentation

template<typename RangeLike>
std::enable_if_t<!Detail::is_matcher<RangeLike>::value, UnorderedRangeEqualsMatcher<RangeLike, std::equal_to<>>> Catch::Matchers::UnorderedRangeEquals(RangeLike &&range)

Creates a matcher that checks if all elements in a range are equal to all elements in another range, in some permutation

Uses std::equal_to to do the comparison