
8 Aug
2006
8 Aug
'06
3:58 p.m.
Charles Karney wrote:
* a clumsy (and inexact) interface between the random generators and the random distributions.
I wonder what you refer to here? I have been thinking that the use of a member template for template<class Engine> result_type operator()(Engine& eng) is sometimes awkward. It doesn't allow compile-time inquiry of the engine properties by the distribution class. For example, I have a distribution that generates an integer of random bits of a fixed width. It is awkward that the distribution class can't get the engine bit width.