siplasplas
A library for C++ reflection and introspection
cpp::Hash< T > Struct Template Reference

A functor that implements a hash function for values of type T. More...

#include <siplasplas/utility/hash.hpp>

Public Member Functions

constexpr std::size_t operator() (const T &value) const
 

Detailed Description

template<typename T>
struct cpp::Hash< T >

A functor that implements a hash function for values of type T.

This template provides the features of cpp::hash() as a functor template, suitable for unordered containers.

Template Parameters
TType of the values to get the hash code. See cpp::hash() for behavior and type requirements.

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