Public Member Functions | Public Attributes | List of all members
Catch::Matchers::Vector::EqualsMatcher< T, AllocComp, AllocMatch > Struct Template Reference

#include <catch.hpp>

Inheritance diagram for Catch::Matchers::Vector::EqualsMatcher< T, AllocComp, AllocMatch >:
Inheritance graph
[legend]

Public Member Functions

std::string describe () const override
 
 EqualsMatcher (std::vector< T, AllocComp > const &comparator)
 
bool match (std::vector< T, AllocMatch > const &v) const override
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T >
MatchNotOf< T > operator! () const
 
MatchAllOf< T > operator&& (MatcherBase const &other) const
 
MatchAnyOf< T > operator|| (MatcherBase const &other) const
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase
 MatcherUntypedBase ()=default
 
 MatcherUntypedBase (MatcherUntypedBase const &)=default
 
MatcherUntypedBaseoperator= (MatcherUntypedBase const &)=delete
 
std::string toString () const
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T >
virtual bool match (T const &arg) const=0
 

Public Attributes

std::vector< T, AllocComp > const & m_comparator
 

Additional Inherited Members

- Protected Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase
virtual ~MatcherUntypedBase ()
 
- Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase
std::string m_cachedToString
 

Detailed Description

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

Definition at line 3656 of file catch.hpp.

Constructor & Destructor Documentation

◆ EqualsMatcher()

template<typename T , typename AllocComp , typename AllocMatch >
Catch::Matchers::Vector::EqualsMatcher< T, AllocComp, AllocMatch >::EqualsMatcher ( std::vector< T, AllocComp > const &  comparator)
inline

Definition at line 3658 of file catch.hpp.

Member Function Documentation

◆ describe()

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

Implements Catch::Matchers::Impl::MatcherUntypedBase.

Definition at line 3672 of file catch.hpp.

◆ match()

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

Definition at line 3660 of file catch.hpp.

Member Data Documentation

◆ m_comparator

template<typename T , typename AllocComp , typename AllocMatch >
std::vector<T, AllocComp> const& Catch::Matchers::Vector::EqualsMatcher< T, AllocComp, AllocMatch >::m_comparator

Definition at line 3675 of file catch.hpp.


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


magic_enum
Author(s):
autogenerated on Fri Feb 21 2025 03:20:19