id summary reporter owner description type status milestone component version severity resolution keywords cc 2679 boost::uniform_01 constructor rick68@… No-Maintainer "Hi, In line42: explicit uniform_01(base_type rng) line43: _rng(rng), line44: _factor(result_type(1) / line45: (result_type((_rng.max)()-(_rng.min)()) + line46: result_type(std::numeric_limits::is_integer ? 1 : 0))) If prototype ""uniform_01(base_type rng)"" change to ""uniform_01(const base_type& rng)"", it can just once copy object rng. " Patches closed Boost 1.38.0 random Boost 1.37.0 Optimization fixed Jens.Maurer@…