Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/random/discard_block.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: discard_block.hpp 72951 2011-07-07 04:57:37Z steven_watanabe $ | 11 * $Id$ |
12 * | 12 * |
13 * Revision history | 13 * Revision history |
14 * 2001-03-02 created | 14 * 2001-03-02 created |
15 */ | 15 */ |
16 | 16 |
22 #include <boost/cstdint.hpp> | 22 #include <boost/cstdint.hpp> |
23 #include <boost/limits.hpp> | 23 #include <boost/limits.hpp> |
24 #include <boost/static_assert.hpp> | 24 #include <boost/static_assert.hpp> |
25 #include <boost/random/detail/config.hpp> | 25 #include <boost/random/detail/config.hpp> |
26 #include <boost/random/detail/seed.hpp> | 26 #include <boost/random/detail/seed.hpp> |
27 #include <boost/random/detail/seed_impl.hpp> | |
27 | 28 |
28 | 29 |
29 namespace boost { | 30 namespace boost { |
30 namespace random { | 31 namespace random { |
31 | 32 |
59 /** Uses the default seed for the base generator. */ | 60 /** Uses the default seed for the base generator. */ |
60 discard_block_engine() : _rng(), _n(0) { } | 61 discard_block_engine() : _rng(), _n(0) { } |
61 /** Constructs a new \discard_block_engine with a copy of rng. */ | 62 /** Constructs a new \discard_block_engine with a copy of rng. */ |
62 explicit discard_block_engine(const base_type & rng) : _rng(rng), _n(0) { } | 63 explicit discard_block_engine(const base_type & rng) : _rng(rng), _n(0) { } |
63 | 64 |
64 #ifndef BOOST_NO_RVALUE_REFERENCES | 65 #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES |
65 /** Constructs a new \discard_block_engine with rng. */ | 66 /** Constructs a new \discard_block_engine with rng. */ |
66 explicit discard_block_engine(base_type && rng) : _rng(rng), _n(0) { } | 67 explicit discard_block_engine(base_type && rng) : _rng(rng), _n(0) { } |
67 #endif | 68 #endif |
68 | 69 |
69 /** | 70 /** |