mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add tuple_cat
This commit is contained in:
parent
f9d4b475b4
commit
2d039ad6b4
20 changed files with 807 additions and 646 deletions
15
sprout/uuid/hash.hpp
Normal file
15
sprout/uuid/hash.hpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef SPROUT_UUID_HASH_HPP
|
||||
#define SPROUT_UUID_HASH_HPP
|
||||
|
||||
#include <cstddef>
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/functional/hash/hash.hpp>
|
||||
#include <sprout/uuid/uuid.hpp>
|
||||
|
||||
namespace sprout {
|
||||
inline SPROUT_CONSTEXPR std::size_t hash_value(sprout::uuids::uuid const& v) {
|
||||
return sprout::hash_range(v.begin(), v.end());
|
||||
}
|
||||
} // namespace sprout
|
||||
|
||||
#endif // #ifndef SPROUT_UUID_HASH_HPP
|
Loading…
Add table
Add a link
Reference in a new issue