In depth pointer equality functor. More...
#include <uniq_memory.hh>
Public Member Functions | |
bool | operator() (Ty const *a, Ty const *b) const |
Call operator. |
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 |
Definition at line 60 of file uniq_memory.hh.
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)