comparison DEPENDENCIES/generic/include/boost/random/uniform_real.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
5 * accompanying file LICENSE_1_0.txt or copy at 5 * accompanying file LICENSE_1_0.txt or copy at
6 * http://www.boost.org/LICENSE_1_0.txt) 6 * http://www.boost.org/LICENSE_1_0.txt)
7 * 7 *
8 * See http://www.boost.org for most recent version including documentation. 8 * See http://www.boost.org for most recent version including documentation.
9 * 9 *
10 * $Id: uniform_real.hpp 71018 2011-04-05 21:27:52Z steven_watanabe $ 10 * $Id$
11 * 11 *
12 * Revision history 12 * Revision history
13 * 2001-04-08 added min<max assertion (N. Becker) 13 * 2001-04-08 added min<max assertion (N. Becker)
14 * 2001-02-18 moved to individual header files 14 * 2001-02-18 moved to individual header files
15 */ 15 */
61 */ 61 */
62 explicit uniform_real(RealType min_arg = RealType(0.0), 62 explicit uniform_real(RealType min_arg = RealType(0.0),
63 RealType max_arg = RealType(1.0)) 63 RealType max_arg = RealType(1.0))
64 : base_type(min_arg, max_arg) 64 : base_type(min_arg, max_arg)
65 { 65 {
66 BOOST_ASSERT(min_arg <= max_arg); 66 BOOST_ASSERT(min_arg < max_arg);
67 } 67 }
68 68
69 /** Constructs a uniform_real distribution from its parameters. */ 69 /** Constructs a uniform_real distribution from its parameters. */
70 explicit uniform_real(const param_type& parm) 70 explicit uniform_real(const param_type& parm)
71 : base_type(parm) 71 : base_type(parm)