|
Util--
1.1
|
In depth pointer equality functor. More...
#include <utilmm/smart/bits/uniq_memory.hh>


Public Member Functions | |
| bool | operator() (Ty const *a, Ty const *b) const |
| Call operator. More... | |
In depth pointer equality functor.
This functor is used by utilmm::smart::ref_count::uniq_memory to test if two pointers are pointing to equal cells.
| Ty | The type of pointed cells |
| Equal | equality functor for Ty |
| bool utilmm::smart::ref_count::eq_ptr< Ty, Equal >::operator() | ( | Ty const * | a, |
| Ty const * | b | ||
| ) | const |
Call operator.
| a | a const pointer |
| b | a const pointer |
This function checks if the pointed values by a and b are equals
Equal(*a, *b)
1.8.6