Sprout/sprout/random/unique_seed.hpp
bolero-MURAKAMI 305ae86d92 functional/hash.hpp 追加
random/unique_seed.hpp 追加
2011-09-29 12:58:55 +09:00

14 lines
352 B
C++

#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