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 an old version of boost. Click here for the latest version's documentation home page.
PrevUpHomeNext

Struct hash<unsigned long>

boost::hash<unsigned long> —

Synopsis

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

Description

std::size_t operator()(unsigned long 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