@@ -11,14 +11,14 @@ namespace detail {
1111// / It's the boundary condition of this serial functions.
1212// /
1313// / \param seed Not effect.
14- inline void hash_combine (std::size_t *) {}
14+ inline void hash_combine (std::size_t *) {}
1515
1616// / \brief Combine the given hash value with another obeject.
1717// /
1818// / \param seed The given hash value. It's a input/output parameter.
1919// / \param value The object that will be combined with the given hash value.
2020template <typename T>
21- inline void hash_combine (std::size_t * seed, const T & value) {
21+ inline void hash_combine (std::size_t * seed, const T& value) {
2222 *seed ^= std::hash<T>{}(value) + 0x9e3779b9 + (*seed << 6 ) + (*seed >> 2 );
2323}
2424
@@ -28,8 +28,8 @@ inline void hash_combine(std::size_t *seed, const T &value) {
2828// / \param value The object that will be combined with the given hash value.
2929// / \param args The objects that will be combined with the given hash value.
3030template <typename T, typename ... Types>
31- inline void hash_combine (std::size_t * seed, const T & value,
32- const Types &...args) {
31+ inline void hash_combine (std::size_t * seed, const T& value,
32+ const Types&... args) {
3333 hash_combine (seed, value);
3434 hash_combine (seed, args...);
3535}
@@ -39,7 +39,7 @@ inline void hash_combine(std::size_t *seed, const T &value,
3939// / \param args The arguments that will be computed hash value.
4040// / \return The hash value of the given args.
4141template <typename ... Types>
42- inline std::size_t hash_value (const Types &...args) {
42+ inline std::size_t hash_value (const Types&... args) {
4343 std::size_t seed = 0 ;
4444 hash_combine (&seed, args...);
4545 return seed;
0 commit comments