BPHash
General object hashing library for C++
Public Attributes | List of all members
bphash::PointerWrapper< T > Struct Template Reference

Wrapper for pointers and arrays. More...

#include <Hasher.hpp>

Public Attributes

const T * ptr
 Pointer to the actual data. More...
 
size_t len
 Length of the array (as number of elements of T) More...
 

Detailed Description

template<typename T>
struct bphash::PointerWrapper< T >

Wrapper for pointers and arrays.

This wraps any kind of pointer, including arrays, and stores its type information and length. These values are then hashed by an appropriate free function or member function

Definition at line 49 of file Hasher.hpp.

Member Data Documentation

template<typename T>
size_t bphash::PointerWrapper< T >::len

Length of the array (as number of elements of T)

Definition at line 52 of file Hasher.hpp.

template<typename T>
const T* bphash::PointerWrapper< T >::ptr

Pointer to the actual data.

Definition at line 51 of file Hasher.hpp.


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