Isis 3 Programmer 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. More...
 

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.

Definition at line 46 of file CollectorMap.h.

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

Definition at line 56 of file CollectorMap.h.


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