All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
tesseract::PtrHash< T > Struct Template Reference

#include <bbgrid.h>

Public Member Functions

size_t operator() (const T *ptr) const

Detailed Description

template<typename T>
struct tesseract::PtrHash< T >

Definition at line 227 of file bbgrid.h.

Member Function Documentation

template<typename T >
size_t tesseract::PtrHash< T >::operator() ( const T *  ptr) const

Definition at line 228 of file bbgrid.h.

228  {
229  return reinterpret_cast<size_t>(ptr) / sizeof(T);
230  }

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