Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/random/shuffle_order.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 |
---|---|
6 * accompanying file LICENSE_1_0.txt or copy at | 6 * accompanying file LICENSE_1_0.txt or copy at |
7 * http://www.boost.org/LICENSE_1_0.txt) | 7 * http://www.boost.org/LICENSE_1_0.txt) |
8 * | 8 * |
9 * See http://www.boost.org for most recent version including documentation. | 9 * See http://www.boost.org for most recent version including documentation. |
10 * | 10 * |
11 * $Id: shuffle_order.hpp 71018 2011-04-05 21:27:52Z steven_watanabe $ | 11 * $Id$ |
12 * | 12 * |
13 */ | 13 */ |
14 | 14 |
15 #ifndef BOOST_RANDOM_SHUFFLE_ORDER_HPP | 15 #ifndef BOOST_RANDOM_SHUFFLE_ORDER_HPP |
16 #define BOOST_RANDOM_SHUFFLE_ORDER_HPP | 16 #define BOOST_RANDOM_SHUFFLE_ORDER_HPP |
96 * | 96 * |
97 * Complexity: Exactly k+1 invocations of the base generator. | 97 * Complexity: Exactly k+1 invocations of the base generator. |
98 */ | 98 */ |
99 explicit shuffle_order_engine(const base_type & rng) : _rng(rng) { init(); } | 99 explicit shuffle_order_engine(const base_type & rng) : _rng(rng) { init(); } |
100 | 100 |
101 #ifndef BOOST_NO_RVALUE_REFERENCES | 101 #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES |
102 explicit shuffle_order_engine(base_type&& rng) : _rng(rng) { init(); } | 102 explicit shuffle_order_engine(base_type&& rng) : _rng(rng) { init(); } |
103 #endif | 103 #endif |
104 | 104 |
105 template<class It> shuffle_order_engine(It& first, It last) | 105 template<class It> shuffle_order_engine(It& first, It last) |
106 : _rng(first, last) { init(); } | 106 : _rng(first, last) { init(); } |