Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct hash<unsigned char>

boost::hash<unsigned char>

Synopsis

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


struct hash<unsigned char> {
  std::size_t operator()(unsigned char) const;
};

Description

std::size_t operator()(unsigned char val) const;

Returns:

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

hash_value(val) in Boost.

Throws:

Doesn't throw


PrevUpHomeNext