| Home | Libraries | People | FAQ | More

## Struct template hash

boost::pfr::hash — std::hash like functor that returns boost::pfr::hash_value (x)

## Synopsis

    // In header: <boost/pfr/functors.hpp>

    template<typename T>
    struct hash {

      // public member functions
      std::size_t operator()(const T &) const;
    };

## Description

### `hash` public member functions

1.     std::size_t operator()(const T & x) const;

   Returns: | hash value of x.