| Home | Libraries | People | FAQ | More

## Struct hash<bool>

boost::hash<bool>

## Synopsis

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

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

## Description

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

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