SOFA API  7352f41a
Open source framework for multi-physics simuation
sofa::helper::ptr_stable_compare< T * > Class Template Reference

#include <map_ptr_stable_compare.h>

Protected Attributes

ptr_stable_id< T > * m_ids
 memory is owned by the map_ptr_stable_compare instance More...
 

Public Member Functions

bool operator() (T *a, T *b) const
 
 ptr_stable_compare (const ptr_stable_id< T > *ids)
 

Attribute details

◆ m_ids

template<typename T >
ptr_stable_id<T>* sofa::helper::ptr_stable_compare< T * >::m_ids
mutableprotected

memory is owned by the map_ptr_stable_compare instance

Constructor details

◆ ptr_stable_compare()

template<typename T >
sofa::helper::ptr_stable_compare< T * >::ptr_stable_compare ( const ptr_stable_id< T > *  ids)
inlineexplicit

Function details

◆ operator()()

template<typename T >
bool sofa::helper::ptr_stable_compare< T * >::operator() ( T *  a,
T *  b 
) const
inline