lobot::map_value_comp_less< M > Class Template Reference

#include <Robots/LoBot/util/LoSTL.H>

List of all members.

Public Member Functions

bool operator() (const value_type &A, const value_type &B) const

Detailed Description

template<typename M>
class lobot::map_value_comp_less< M >

By default, STL maps compare keys when used with various STL algorithms such as min_element and max_element. This function object performs the comparison by comparing the values stored in the map rather than its keys. It uses the < operator for comparisons.

NOTE: The type M is expected to be an std::map.

Definition at line 218 of file LoSTL.H.


The documentation for this class was generated from the following file:
Generated on Sun May 8 08:44:39 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3