Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct hash<unsigned int>

boost::hash<unsigned int> —

Synopsis

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

Description

std::size_t operator()(unsigned int val) const;
Returns:

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

hash_value(val) in Boost.

Throws:

Doesn't throw

Copyright © 2005, 2006 Daniel James

PrevUpHomeNext