Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Function template hash_value

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

Synopsis

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


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

Description

Returns:

std::size_t with hash of the value


PrevUpHomeNext