AnCH Framework  0.1
Another C++ Hack Framework
Public Member Functions | List of all members
anch::LessPtrCompare< T > Struct Template Reference

Less comparator based on object address. More...

#include <lessPtrCompare.hpp>

Collaboration diagram for anch::LessPtrCompare< T >:

Public Member Functions

bool operator() (const T *const first, const T *const second) const

Detailed Description

template<typename T>
struct anch::LessPtrCompare< T >

Less comparator based on object address.

This class can be used to register objects in std::set or std::map.

Vincent Lachenal

Member Function Documentation

template<typename T >
bool anch::LessPtrCompare< T >::operator() ( const T *const  first,
const T *const  second 
) const

Address comparison operator.

firstthe first object instance
secondthe second object instance
true if first address is less than second, false otherwise

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