Belle II Software development
Less Struct Reference

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

Detailed Description

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

Definition at line 461 of file Functional.h.

Member Function Documentation

◆ operator()()

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

Operator for less comparison of an arbitrary object.

Definition at line 467 of file Functional.h.

468 {
469 return t1 < t2;
470 }

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