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 for the latest Boost documentation.
PrevUpHomeNext

Struct hash<std::wstring>

boost::hash<std::wstring>

Synopsis

// In header: <boost/functional/hash.hpp>


struct hash<std::wstring> {
  std::size_t operator()(std::wstring const&) const;
};

Description

std::size_t operator()(std::wstring const& val) const;

Returns:

Unspecified in TR1, except that equal arguments yield the same result.

hash_value(val) in Boost.

Throws:

Doesn't throw


PrevUpHomeNext