| 112 | namespace docopt { |
| 113 | template <class T> |
| 114 | inline void hash_combine(std::size_t& seed, T const& v) |
| 115 | { |
| 116 | // stolen from boost::hash_combine |
| 117 | std::hash<T> hasher; |
| 118 | seed ^= hasher(v) + 0x9e3779b9 + (seed<<6) + (seed>>2); |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | #endif |