Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct hash<long double>

boost::hash<long double>

Synopsis

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


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

Description

std::size_t operator()(long double val) const;

Returns:

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

hash_value(val) in Boost.

Throws:

Doesn't throw


PrevUpHomeNext