ACE_Less_Than(3)

ACE_Less_Than3

Function object for determining whether the first object of the given type is less than the second object of the same type.

Usage

#include <ace/Functor_T.h>
template<class TYPE>
class ACE_Less_Than
{
  public:
    int operator () (const TYPE &lhs, const TYPE &rhs) const;
};

Overview

Templatized classes for implementing function objects that are used in various places in ACE. There are currently two major categories of function objects in ACE: GOF Command Pattern objects, and STL-style functors for comparison of container elements. The command objects are invoked via an execute method, while the STL-style functors are invoked via an operator() method.

Public members

int operator () (const TYPE &lhs, const TYPE &rhs) const;

Simply calls operator

Library

ace