1 /* boost random/detail/generator_bits.hpp header file
3 * Copyright Steven Watanabe 2011
4 * Distributed under the Boost Software License, Version 1.0. (See
5 * accompanying file LICENSE_1_0.txt or copy at
6 * http://www.boost.org/LICENSE_1_0.txt)
8 * See http://www.boost.org for most recent version including documentation.
10 * $Id: generator_bits.hpp 72951 2011-07-07 04:57:37Z steven_watanabe $
14 #ifndef BOOST_RANDOM_DETAIL_GENERATOR_BITS_HPP
15 #define BOOST_RANDOM_DETAIL_GENERATOR_BITS_HPP
17 #include <boost/limits.hpp>
23 // This is a temporary measure that retains backwards
26 struct generator_bits {
27 static std::size_t value() {
28 return std::numeric_limits<typename URNG::result_type>::digits;
36 #endif // BOOST_RANDOM_DETAIL_GENERATOR_BITS_HPP