More CMake bullshit

This commit is contained in:
sippeangelo
2015-11-30 11:16:43 +01:00
parent 8419d2e7b9
commit 52278d7bc2
20 changed files with 264 additions and 85 deletions
@@ -0,0 +1,17 @@
#ifndef UnorderedMapPair_h__
#define UnorderedMapPair_h__
#include <boost/functional/hash.hpp>
template<typename S, typename T> struct std::hash<std::pair<S, T>>
{
inline std::size_t operator()(const std::pair<S, T> &v) const
{
std::size_t seed = 0;
boost::hash_combine(seed, v.first);
boost::hash_combine(seed, v.second);
return seed;
}
};
#endif