/usr/include/boost/random/detail
NameSizeModeActions
auto_link.hpp9590644editdlrm
config.hpp5380644editdlrm
const_mod.hpp55660644editdlrm
disable_warnings.hpp8230644editdlrm
enable_warnings.hpp5520644editdlrm
generator_bits.hpp8740644editdlrm
generator_seed_seq.hpp8610644editdlrm
gray_coded_qrng.hpp46620644editdlrm
integer_log2.hpp21810644editdlrm
int_float_pair.hpp41780644editdlrm
iterator_mixin.hpp13030644editdlrm
large_arithmetic.hpp36150644editdlrm
niederreiter_base2_table.hpp362850644editdlrm
operators.hpp36730644editdlrm
polynomial.hpp133050644editdlrm
ptr_helper.hpp15340644editdlrm
qrng_base.hpp86590644editdlrm
seed.hpp50200644editdlrm
seed_impl.hpp142830644editdlrm
signed_unsigned_tools.hpp25350644editdlrm
sobol_table.hpp2340130644editdlrm
uniform_int_float.hpp21230644editdlrm
vector_io.hpp17920644editdlrm
Edit: /usr/include/boost/random/detail/seed.hpp (5020B)
/* boost random/detail/seed.hpp header file * * Copyright Steven Watanabe 2009 * Distributed under the Boost Software License, Version 1.0. (See * accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) * * See http://www.boost.org for most recent version including documentation. * * $Id$ */ #ifndef BOOST_RANDOM_DETAIL_SEED_HPP #define BOOST_RANDOM_DETAIL_SEED_HPP #include // Sun seems to have trouble with the use of SFINAE for the // templated constructor. So does Borland. #if !defined(BOOST_NO_SFINAE) && !defined(__SUNPRO_CC) && !defined(__BORLANDC__) #include #include #include namespace boost { namespace random { namespace detail { template struct disable_seed : boost::disable_if > {}; template struct disable_constructor : disable_seed {}; template struct disable_constructor {}; #define BOOST_RANDOM_DETAIL_GENERATOR_CONSTRUCTOR(Self, Generator, gen) \ template \ explicit Self(Generator& gen, typename ::boost::random::detail::disable_constructor::type* = 0) #define BOOST_RANDOM_DETAIL_GENERATOR_SEED(Self, Generator, gen) \ template \ void seed(Generator& gen, typename ::boost::random::detail::disable_seed::type* = 0) #define BOOST_RANDOM_DETAIL_SEED_SEQ_CONSTRUCTOR(Self, SeedSeq, seq) \ template \ explicit Self(SeedSeq& seq, typename ::boost::random::detail::disable_constructor::type* = 0) #define BOOST_RANDOM_DETAIL_SEED_SEQ_SEED(Self, SeedSeq, seq) \ template \ void seed(SeedSeq& seq, typename ::boost::random::detail::disable_seed::type* = 0) #define BOOST_RANDOM_DETAIL_ARITHMETIC_CONSTRUCTOR(Self, T, x) \ explicit Self(const T& x) #define BOOST_RANDOM_DETAIL_ARITHMETIC_SEED(Self, T, x) \ void seed(const T& x) } } } #else #include #include #define BOOST_RANDOM_DETAIL_GENERATOR_CONSTRUCTOR(Self, Generator, gen) \ Self(Self& other) { *this = other; } \ Self(const Self& other) { *this = other; } \ template \ explicit Self(Generator& gen) { \ boost_random_constructor_impl(gen, ::boost::is_arithmetic());\ } \ template \ void boost_random_constructor_impl(Generator& gen, ::boost::mpl::false_) #define BOOST_RANDOM_DETAIL_GENERATOR_SEED(Self, Generator, gen) \ template \ void seed(Generator& gen) { \ boost_random_seed_impl(gen, ::boost::is_arithmetic());\ }\ template\ void boost_random_seed_impl(Generator& gen, ::boost::mpl::false_) #define BOOST_RANDOM_DETAIL_SEED_SEQ_CONSTRUCTOR(Self, SeedSeq, seq) \ Self(Self& other) { *this = other; } \ Self(const Self& other) { *this = other; } \ template \ explicit Self(SeedSeq& seq) { \ boost_random_constructor_impl(seq, ::boost::is_arithmetic());\ } \ template \ void boost_random_constructor_impl(SeedSeq& seq, ::boost::mpl::false_) #define BOOST_RANDOM_DETAIL_SEED_SEQ_SEED(Self, SeedSeq, seq) \ template \ void seed(SeedSeq& seq) { \ boost_random_seed_impl(seq, ::boost::is_arithmetic()); \ } \ template \ void boost_random_seed_impl(SeedSeq& seq, ::boost::mpl::false_) #define BOOST_RANDOM_DETAIL_ARITHMETIC_CONSTRUCTOR(Self, T, x) \ explicit Self(const T& x) { boost_random_constructor_impl(x, ::boost::mpl::true_()); }\ void boost_random_constructor_impl(const T& x, ::boost::mpl::true_) #define BOOST_RANDOM_DETAIL_ARITHMETIC_SEED(Self, T, x) \ void seed(const T& x) { boost_random_seed_impl(x, ::boost::mpl::true_()); }\ void boost_random_seed_impl(const T& x, ::boost::mpl::true_) #endif #endif