Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template hash_value

pfr::hash_value — Hashes value using its own std::hash specialization; if no std::hash specialization available returns pfr::hash_fields (value).

Synopsis

// In header: <pfr/ops.hpp>


template<typename T> unspecified hash_value(const T & value);

Description

Returns:

std::size_t with hash of the value


PrevUpHomeNext