Belle II Software development
Equal Struct Reference

Binary functor for equality comparison of arbitrary objects - equivalent to std::equal_to<> (c++14) More...

#include <Functional.h>

Public Member Functions

 operator FunctorTag ()
 Marker function for the isFunctor test.
 
template<class T1 , class T2 >
auto operator() (const T1 &t1, const T2 &t2) const -> decltype(t1==t2)
 Operator for equality comparison of an arbitrary object.
 

Detailed Description

Binary functor for equality comparison of arbitrary objects - equivalent to std::equal_to<> (c++14)

Definition at line 515 of file Functional.h.

Member Function Documentation

◆ operator()()

auto operator() ( const T1 &  t1,
const T2 &  t2 
) const -> decltype(t1 == t2)
inline

Operator for equality comparison of an arbitrary object.

Definition at line 521 of file Functional.h.

522 {
523 return t1 == t2;
524 }

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