Panda3D
Public Member Functions

FirstOfPairLess< ObjectType > Class Template Reference

An STL function object class, this is intended to be used on any ordered collection of pairs of objects. More...

#include "firstOfPairLess.h"

List of all members.

Public Member Functions

bool operator() (const ObjectType &a, const ObjectType &b) const
 Returns true if a sorts before b, false otherwise.

Detailed Description

template<class ObjectType>
class FirstOfPairLess< ObjectType >

An STL function object class, this is intended to be used on any ordered collection of pairs of objects.

It uses < to compare the first elements of the pair.

Definition at line 27 of file firstOfPairLess.h.


Member Function Documentation

template<class ObjectType >
bool FirstOfPairLess< ObjectType >::operator() ( const ObjectType &  a,
const ObjectType &  b 
) const [inline]

Returns true if a sorts before b, false otherwise.

Definition at line 22 of file firstOfPairLess.I.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations