blob: 238fdbee58e9b595df941eae107d2c8dbe1b81ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include "interfaces/randomization.hpp"
#include <memory>
#include <random>
class SeedGenerator : public ISeedGenerator
{
public:
explicit SeedGenerator(const std::shared_ptr<std::random_device> &random_device);
[[nodiscard]] unsigned int random_seed() const override;
private:
const std::shared_ptr<std::random_device> &_random_device;
};
|