All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
FirstElementIsEqualComparator Struct Reference
Inheritance diagram for FirstElementIsEqualComparator:
Collaboration diagram for FirstElementIsEqualComparator:

Public Member Functions

 FirstElementIsEqualComparator (const int32 element)
bool operator() (std::pair< int32, int32 > const &arg)

Public Attributes

int32 element_

Detailed Description

Definition at line 48 of file

Constructor & Destructor Documentation

FirstElementIsEqualComparator ( const int32  element)

Definition at line 51 of file

Member Function Documentation

bool operator() ( std::pair< int32, int32 > const &  arg)

Definition at line 53 of file

References FirstElementIsEqualComparator::element_.

54  { return (arg.first == element_); }

Member Data Documentation

int32 element_

Definition at line 55 of file

Referenced by FirstElementIsEqualComparator::operator()().

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