| Home | Libraries | People | FAQ | More

## Struct hash<int>

boost::hash<int>

## Synopsis

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

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

## Description

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

Returns: | Unspecified in TR1, except that equal arguments yield the same result. hash_value(val) in Boost.
Throws: | Doesn't throw