Public Member Functions
utilmm::smart::ref_count::eq_ptr< Ty, Equal > Struct Template Reference

In depth pointer equality functor. More...

#include <uniq_memory.hh>

List of all members.

Public Member Functions

bool operator() (Ty const *a, Ty const *b) const
 Call operator.

Detailed Description

template<typename Ty, class Equal>
struct utilmm::smart::ref_count::eq_ptr< Ty, Equal >

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.

TyThe type of pointed cells
Equalequality functor for Ty
Frédéric Py <>

Definition at line 60 of file uniq_memory.hh.

Member Function Documentation

template<typename Ty , class Equal >
bool utilmm::smart::ref_count::eq_ptr< Ty, Equal >::operator() ( Ty const *  a,
Ty const *  b 
) const

Call operator.

aa const pointer
ba const pointer

This function checks if the pointed values by a and b are equals

Equal(*a, *b)
a and b must not be null pointers

The documentation for this struct was generated from the following file:

Author(s): Sylvain Joyeux/
autogenerated on Thu Jan 2 2014 11:38:32