From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2003-10-29 19:59:25
This change does not preserve semantics.
Hugo Duncan wrote:
> Attatched is a patch which modifies variate_generator to use
> boost::is_integral<t>::value instead of std::numeric_limits<T>::is_integer.
numeric_limits<T> could be specialized for user-defined types (and ...::is_integer
return true), but is_integral is only ever true for built-in types.
> Borland was having problems with std::numeric_limits, causing the incorrect
> internal_engine_type to be chosen.
The current CVS already has slightly different code, could you
try this, please?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk