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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Function template hash_value

boost::typeindex::hash_value

Synopsis

// In header: <boost/type_index/type_index_facade.hpp>


template<typename Derived, typename TypeInfo> 
  std::size_t hash_value(const type_index_facade< Derived, TypeInfo > & lhs);

Description

This free function is used by Boost's unordered containers.

[Note] Note

<boost/container_hash/hash.hpp> has to be included if this function is used.


PrevUpHomeNext