Public Member Functions
utilmm::smart::ref_count::hash_ptr< Ty, Hash > Struct Template Reference

Special hash functor for utilmm::smart::ref_count::uniq_memory. More...

#include <uniq_memory.hh>

List of all members.

Public Member Functions

size_t operator() (Ty const *arg) const
 Hashing call operator.

Detailed Description

template<typename Ty, class Hash>
struct utilmm::smart::ref_count::hash_ptr< Ty, Hash >

Special hash functor for utilmm::smart::ref_count::uniq_memory.

This functor is an hash functor used by the utilmm::smart::ref_count::uniq_memory class. To extract the hash value of the value pointed by a cont pointer

TyThe type of pointed cell
HashA hash fucntor for Ty
Frédéric Py <>

Definition at line 29 of file uniq_memory.hh.

Member Function Documentation

template<typename Ty , class Hash >
size_t utilmm::smart::ref_count::hash_ptr< Ty, Hash >::operator() ( Ty const *  arg) const

Hashing call operator.

argA cont pointer

This function compute the hash value of *arg

The computed hash value
arg has to point to a valid cell

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

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