Lioncash 189d277cfc Common/Random: Add convenience template for simple arithmetic values
In cases where we just want a random value for a primitive arithmetic
type, we can wrap this in a template to allow convenient direct
assignment instead of keeping declaration and initialization separate
(making it more difficult to use values uninitialized). This also allows
the use of Common::Random with functions such as std::generate, making
it more flexible in how random values can be generated.
2018-06-14 10:31:13 -04:00
..
2016-12-06 20:33:53 +01:00
2018-04-12 21:28:39 +02:00
2018-04-12 21:28:39 +02:00
2018-05-27 18:48:09 -04:00
2018-04-12 21:28:39 +02:00
2018-04-12 21:28:39 +02:00
2017-08-22 16:40:34 +02:00
2018-04-12 21:28:39 +02:00
2018-04-12 21:28:39 +02:00
2018-06-03 14:53:56 +02:00
2018-06-03 14:53:56 +02:00
2018-04-12 21:28:39 +02:00
2018-04-12 21:28:39 +02:00
2016-07-16 22:48:46 +02:00
2017-08-03 13:29:59 -07:00
2017-08-03 13:29:59 -07:00
2018-05-31 17:54:43 +02:00
2017-01-17 20:46:48 -05:00
2018-04-12 21:28:39 +02:00
2018-04-12 21:28:39 +02:00
2018-05-31 17:54:43 +02:00
2018-04-12 21:28:39 +02:00
2018-05-11 09:19:30 -04:00
2018-04-12 21:28:39 +02:00