f8dd9e0de0
2009-06-19 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.tcc (discrete_distribution<>::param_type:: param_type(size_t, double, double, _Func), discrete_distribution<>::operator()(_UniformRandomNumberGenerator&, const param_type&)): Tidy. (piecewise_constant_distribution<>::param_type::_M_initialize): Use reserve, fix. (piecewise_constant_distribution<>::param_type:: param_type(initializer_list<>, _Func), piecewise_constant_distribution<>::param_type:: param_type(size_t, _RealType, _RealType, _Func), piecewise_linear_distribution<>::param_type:: param_type(initializer_list<>, _Func), piecewise_linear_distribution<>::param_type:: param_type(size_t, _RealType, _RealType, _Func)): Use reserve, tidy. (piecewise_constant_distribution<>::param_type:: param_type(_InputIteratorB, _InputIteratorB, _InputIteratorW), piecewise_constant_distribution<>:: operator()(_UniformRandomNumberGenerator&, const param_type&), piecewise_linear_distribution<>:: operator()(_UniformRandomNumberGenerator&, const param_type&)): Fix. (operator>>(std::basic_istream<>&, piecewise_constant_distribution<>&), operator>>(std::basic_istream<>&, piecewise_linear_distribution<>&)): Use reserve. * include/bits/random.h: Minor cosmetic changes. From-SVN: r148719 |
||
---|---|---|
.. | ||
backward | ||
bits | ||
c | ||
c_compatibility | ||
c_global | ||
c_std | ||
debug | ||
ext | ||
parallel | ||
precompiled | ||
std | ||
tr1 | ||
tr1_impl | ||
Makefile.am | ||
Makefile.in |