A wrapper for a binary comparison of values that interjects pointer dereferencing with null pointer guards. More...
Public Member Functions | |
value_compare (const Compare &cmp) | |
bool | operator() (const T *const a, const T *const b) const |
Compare dereferenced pointers. More... | |
Public Attributes | |
const Compare & | comp |
A wrapper for a binary comparison of values that interjects pointer dereferencing with null pointer guards.
It will also sort any null pointers to the end (eg, rubbish that can be truncated)
Definition at line 173 of file UPtrList.H.
|
inline |
Definition at line 177 of file UPtrList.H.
Compare dereferenced pointers.
Definition at line 185 of file UPtrList.H.
References Foam::constant::physicoChemical::b, and UPtrList< T >::value_compare< Compare >::comp.
const Compare& comp |
Definition at line 175 of file UPtrList.H.
Referenced by UPtrList< T >::value_compare< Compare >::operator()().