dtAI::FSM::PairRefPtrWithNameCompare< T > Struct Template Reference

Compares a pair, but assumes the 2nd type is a referenced pointer. More...

#include <fsm.h>

List of all members.

Public Member Functions

bool operator() (const T &x, const T &y) const
 Re-implement the default comparison algorithm for std::pair<T1,T2>::operator<, but add smart StatePtr comparison with the RefPtrWithNameCompare predicate.


Detailed Description

template<typename T>
struct dtAI::FSM::PairRefPtrWithNameCompare< T >

Compares a pair, but assumes the 2nd type is a referenced pointer.


Member Function Documentation

template<typename T>
bool dtAI::FSM::PairRefPtrWithNameCompare< T >::operator() ( const T &  x,
const T &  y 
) const [inline]

Re-implement the default comparison algorithm for std::pair<T1,T2>::operator<, but add smart StatePtr comparison with the RefPtrWithNameCompare predicate.

See also:
http://www.sgi.com/tech/stl/pair.html


http://www.delta3d.org
2.0.0 generated 14 Feb 2008