DGtal  0.9.3beta
Public Member Functions
std::hash< DGtal::PointVector< dim, EuclideanRing, Container > > Struct Template Reference

#include <DGtal/kernel/PointHashFunctions.h>

Public Member Functions

size_t operator() (const DGtal::PointVector< dim, EuclideanRing, Container > &p) const
 

Detailed Description

template<DGtal::Dimension dim, typename EuclideanRing, typename Container>
struct std::hash< DGtal::PointVector< dim, EuclideanRing, Container > >

Definition at line 61 of file PointHashFunctions.h.

Member Function Documentation

template<DGtal::Dimension dim, typename EuclideanRing , typename Container >
size_t std::hash< DGtal::PointVector< dim, EuclideanRing, Container > >::operator() ( const DGtal::PointVector< dim, EuclideanRing, Container > &  p) const
inline

Definition at line 63 of file PointHashFunctions.h.

References DGtal::PointVector< dim, TEuclideanRing, TContainer >::begin(), and DGtal::PointVector< dim, TEuclideanRing, TContainer >::end().

64  {
65  return boost::hash_range(p.begin(), p.end());
66  }

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