Boost logo

Boost :

From: Neal Becker (ndbecker2_at_[hidden])
Date: 2006-08-08 11:58:06

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.

Boost list run by bdawes at, gregod at, cpdaniel at, john at