Evaluates op(pair<T1, T2>.second, compareTo). More...
#include <Util.h>
Public Member Functions | |
CompareSecond (const T2 &compareTo) | |
bool | operator() (const std::pair< T1, T2 > &p) |
Private Member Functions | |
CompareSecond & | operator= (const CompareSecond &) |
Private Attributes | |
const T2 & | a |
Evaluates op(pair<T1, T2>.second, compareTo).
Definition at line 39 of file Util.h.
adchpp::CompareSecond< T1, T2, op >::CompareSecond | ( | const T2 & | compareTo | ) | [inline] |
bool adchpp::CompareSecond< T1, T2, op >::operator() | ( | const std::pair< T1, T2 > & | p | ) | [inline] |
Definition at line 42 of file Util.h.
References adchpp::CompareSecond< T1, T2, op >::a.
CompareSecond& adchpp::CompareSecond< T1, T2, op >::operator= | ( | const CompareSecond< T1, T2, op > & | ) | [private] |
const T2& adchpp::CompareSecond< T1, T2, op >::a [private] |
Definition at line 45 of file Util.h.
Referenced by adchpp::CompareSecond< T1, T2, op >::operator()().