Simplify the StateSize helper in Random
Summary: [Folly] Simplify the `StateSize` helper in `Random`. * Using member type aliases rather than class constants means we can remove definitions. * Partially specializing over all RNG types with `state_size` class constants means we can remove the `mersenne_twister` specializations, which have many template parameters and are a pain. Reviewed By: Orvid Differential Revision: D5525144 fbshipit-source-id: bc27f112ed0d9b55befe9dabe08c4d345a402435
Showing
Please register or sign in to comment