Isis Developer Reference
Isis::SimpleCompare< K > Struct Template Reference

Provides a simple comparison between two values. More...

#include <CollectorMap.h>

Collaboration diagram for Isis::SimpleCompare< K >:
Collaboration graph

Public Member Functions

bool operator() (const K &v1, const K &v2) const
 Returns true if v1 is less than v2.
 

Detailed Description

template<typename K>
struct Isis::SimpleCompare< K >

Provides a simple comparison between two values.

This simple comparison function object is provided with no special frills that does pretty much exactly what std::less does.

Member Function Documentation

◆ operator()()

template<typename K >
bool Isis::SimpleCompare< K >::operator() ( const K & v1,
const K & v2 ) const
inline

Returns true if v1 is less than v2.

Parameters
v1Input constant
v2Input constant
Returns
bool Returns true if v1 is less than v2

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