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

A class that can be used in place of std::hash in containers. More...

#include <StdHash.hpp>

Public Member Functions

size_t operator() (const T &obj) const
 

Detailed Description

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

A class that can be used in place of std::hash in containers.

This is useful for unordered_map, etc, that require hashing of the key type.

Definition at line 22 of file StdHash.hpp.

Member Function Documentation

template<typename T >
size_t bphash::StdHash< T >::operator() ( const T &  obj) const
inline

Definition at line 24 of file StdHash.hpp.

Here is the call graph for this function:


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