1 #ifndef AIKIDO_COMMON_DETAIL_PAIR_IMPL_HPP_ 2 #define AIKIDO_COMMON_DETAIL_PAIR_IMPL_HPP_ 4 #include <boost/functional/hash.hpp> 6 #include "aikido/common/pair.hpp" 12 template <
typename T1,
typename T2>
16 boost::hash_combine(hash, pair.first);
17 boost::hash_combine(hash, pair.second);
25 #endif // AIKIDO_COMMON_DETAIL_PAIR_IMPL_HPP_ 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
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4