generator: no copies
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-01-03 01:02:53 +01:00
parent 42a73a00af
commit f831c16bce
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -14,6 +14,8 @@ public:
std::chrono::milliseconds reseed_interval{100};
Generator(); // ad noexcept: perhaps _do_ throw*
Generator(const Generator& Gen) = delete; // no
Generator& operator=(const Generator& Gen) = delete; // copies
~Generator() noexcept;
/* n is the number of random bytes to generate */