20 namespace container_internal {
21 namespace hash_internal {
24 class RandomDeviceSeedSeq {
26 using result_type =
typename std::random_device::result_type;
28 template <
class Iterator>
29 void generate(Iterator start, Iterator
end) {
30 while (start != end) {
43 RandomDeviceSeedSeq seed_seq;
44 static auto* rng =
new std::mt19937_64(seed_seq);
50 std::uniform_int_distribution<short> chars(0x20, 0x7E);
53 std::generate(res.begin(), res.end(),
59 static auto*
arena =
new std::deque<std::string>();
61 std::uniform_int_distribution<short> chars(0x20, 0x7E);
62 arena->emplace_back();
63 auto& res =
arena->back();
65 std::generate(res.begin(), res.end(),
LowLevelAlloc::Arena * arena
std::mt19937_64 * GetSharedRng()