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
return 4; // chosen by fair dice roll.
// guaranteed to be random.
}
return 4; // chosen by fair dice roll.
// guaranteed to be random.
}
+ static result_type min() {
return std::numeric_limits<result_type>::min();
}
return std::numeric_limits<result_type>::min();
}
+ static result_type max() {
return std::numeric_limits<result_type>::max();
}
};
return std::numeric_limits<result_type>::max();
}
};