STK++ 0.9.13
STK::GreaterOp< Type1, Type2 > Struct Template Reference

Template functor testing if a number is greater than an other number. More...

#include <STK_Functors.h>

Public Types

enum  { NbParam_ = 2 }
typedef bool result_type
typedef hidden::RemoveConst< Type1 >::Type param1_type
typedef hidden::RemoveConst< Type2 >::Type const & param2_type

Public Member Functions

result_type operator() (param1_type const &value1, param2_type value2) const

Detailed Description

template<class Type1, class Type2 = Type1>
struct STK::GreaterOp< Type1, Type2 >

Template functor testing if a number is greater than an other number.

Definition at line 108 of file STK_Functors.h.

Member Typedef Documentation

◆ param1_type

template<class Type1, class Type2 = Type1>
typedef hidden::RemoveConst<Type1>::Type STK::GreaterOp< Type1, Type2 >::param1_type

Definition at line 112 of file STK_Functors.h.

◆ param2_type

template<class Type1, class Type2 = Type1>
typedef hidden::RemoveConst<Type2>::Type const& STK::GreaterOp< Type1, Type2 >::param2_type

Definition at line 113 of file STK_Functors.h.

◆ result_type

template<class Type1, class Type2 = Type1>
typedef bool STK::GreaterOp< Type1, Type2 >::result_type

Definition at line 111 of file STK_Functors.h.

Member Enumeration Documentation

◆ anonymous enum

template<class Type1, class Type2 = Type1>
anonymous enum
Enumerator
NbParam_ 

Definition at line 110 of file STK_Functors.h.

110{ NbParam_ = 2 };

Member Function Documentation

◆ operator()()

template<class Type1, class Type2 = Type1>
result_type STK::GreaterOp< Type1, Type2 >::operator() ( param1_type const & value1,
param2_type value2 ) const
inline

Definition at line 115 of file STK_Functors.h.

116 { return value1 > value2;}
Template functor testing if a number is greater than an other number.

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