Belle II Software development
Greater Struct Reference

Binary functor for greater comparison of arbitrary objects - equivalent to std::greater<> (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 greater comparison of an arbitrary object.
 

Detailed Description

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

Definition at line 489 of file Functional.h.

Member Function Documentation

◆ operator()()

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

Operator for greater comparison of an arbitrary object.

Definition at line 495 of file Functional.h.

496 {
497 return t1 > t2;
498 }

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