ConstantRNG should implement UniformRandomBitGenerator
authorChristopher Dykes <cdykes@fb.com>
Fri, 1 Jul 2016 05:01:48 +0000 (22:01 -0700)
committerFacebook Github Bot 6 <facebook-github-bot-6-bot@fb.com>
Fri, 1 Jul 2016 05:08:23 +0000 (22:08 -0700)
commitca33aa316c3e90f68b52a79188ca6da508b5b51b
tree8c1b22f120efdc79b5353b568942d2a0a332b78e
parent1c1a6b4577cf7ad7526dd7386f5becd2ee8b765c
ConstantRNG should implement UniformRandomBitGenerator

Summary: As per http://en.cppreference.com/w/cpp/concept/UniformRandomBitGenerator it was almost there, except that `min()` and `max()` need to be static members.

Reviewed By: yfeldblum

Differential Revision: D3507595

fbshipit-source-id: 5e0b321c477e37ab8a3487ad643caa83cc6cfc9d
folly/test/RandomTest.cpp