Aikido
pair.hpp
Go to the documentation of this file.
1 #ifndef AIKIDO_COMMON_PAIR_HPP_
2 #define AIKIDO_COMMON_PAIR_HPP_
3 
4 namespace aikido {
5 namespace common {
6 
8 struct PairHash
9 {
10 
13  template <typename T1, typename T2>
14  std::size_t operator()(const std::pair<T1, T2>& pair) const;
15 };
16 
17 } // namespace common
18 } // namespace aikido
19 
21 
22 #endif // AIKIDO_COMMON_PAIR_HPP_
aikido
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
aikido::common::PairHash::operator()
std::size_t operator()(const std::pair< T1, T2 > &pair) const
Compute a hash for a pair of hashable types.
Definition: pair-impl.hpp:13
pair-impl.hpp
aikido::common::PairHash
Implements a hash function for pairs of std::hash-able types.
Definition: pair.hpp:8