forwards.h 499 B

12345678910111213141516171819202122232425262728
  1. //
  2. // forwards.h
  3. // shared_random_generator
  4. //
  5. // Created by Sam Jaffe on 3/19/23.
  6. // Copyright © 2023 Sam Jaffe. All rights reserved.
  7. //
  8. #pragma once
  9. #include <string>
  10. class scope_exit;
  11. /**
  12. * Random(Device):
  13. * operator()(Distribution<R>) => R where R is double, uint32_t, or int32_t
  14. */
  15. namespace engine::random {
  16. class Device;
  17. template <typename> class Distribution;
  18. class Mock;
  19. class Random;
  20. class Tape;
  21. template <typename T> std::string to_string(Distribution<T> const & dist);
  22. }