#include <map_ptr_stable_compare.h>
An object transforming pointers to stable ids, i.e. whose value depend on the order the pointers are processed, and not their (potentially random) value
Protected Attributes | |
unsigned int | counter |
std::map< T *, unsigned int > | idMap |
Public Member Functions | |
ptr_stable_id () | |
unsigned int | operator() (T *p) |
unsigned int | id (T *p) |
|
mutableprotected |
|
mutableprotected |
|
inline |
|
inline |
|
inline |