Dune Core Modules (2.3.1)
Dune::hash< T > Struct Template Reference
Functor for hashing objects of type T. More...
#include <dune/common/hash.hh>
Public Member Functions | |
std::size_t | operator() (const T &t) const |
Calculates the hash of t. | |
Detailed Description
template<typename T>
struct Dune::hash< T >
struct Dune::hash< T >
Functor for hashing objects of type T.
The interface outlined below is compatible with std::hash, std::tr1::hash and boost::hash, so it is possible to use Dune::hash in associative containers from those libraries.
The current implementation piggybacks on top of C++11, TR1 or Boost, in that order. As there is no local fallback implementation, hashing will not work without at least one of those dependencies installed.
The documentation for this struct was generated from the following file:
- dune/common/hash.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)