mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-06 14:24:09 +00:00
functional/hash.hpp 追加
random/unique_seed.hpp 追加
This commit is contained in:
parent
1ebc833ea8
commit
305ae86d92
11 changed files with 381 additions and 0 deletions
14
sprout/random/unique_seed.hpp
Normal file
14
sprout/random/unique_seed.hpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
#ifndef SPROUT_RANDOM_UNIQUE_SEED_HPP
|
||||
#define SPROUT_RANDOM_UNIQUE_SEED_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/functional/hash/hash.hpp>
|
||||
#include <sprout/preprocessor/unique_string.hpp>
|
||||
|
||||
//
|
||||
// SPROUT_UNIQUE_SEED
|
||||
//
|
||||
#define SPROUT_UNIQUE_SEED (::sprout::hash_value(SPROUT_PP_UNIQUE_STRING))
|
||||
|
||||
#endif // #ifndef SPROUT_RANDOM_UNIQUE_SEED_HPP
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue