std::hash< pair< A, B > >

Beta
View as Markdown
template <class A, class B>
struct hash< pair< A, B > >

Hash specialization for std::pair.

#include <std/pose_tree.hpp>

Template parameters

A
class

First type in the pair.

B
class

Second type in the pair.


Methods

operator()

size_t std::hash<pair<A, B>>::operator()(
const pair<A, B> &p
) const

Compute hash value for a pair.

Returns: Hash value.

Parameters

p
const pair<A, B> &

The pair to hash.