2
0
mirror of https://github.com/boostorg/random.git synced 2026-02-26 04:52:22 +00:00

Merge [72825] and [72826] from the trunk. Authorized by Beman.

[SVN r72951]
This commit is contained in:
Steven Watanabe
2011-07-07 04:57:37 +00:00
parent a734166dc2
commit fd4efbb298
8 changed files with 103 additions and 45 deletions

View File

@@ -130,8 +130,6 @@ public:
same_type((E::min)(), result_type());
same_type((E::max)(), result_type());
check_extra(boost::is_integral<result_type>());
(void)E();
(void)E(s);
(void)E(q);
@@ -154,15 +152,6 @@ private:
seed_seq_archetype<> q;
typename detail::seed_type<result_type>::type s;
unsigned long long z;
void check_extra(boost::mpl::true_ /*is_integral*/) {}
void check_extra(boost::mpl::false_ /*is_integral*/)
{
// This is an undocumented extension, but we still need
// to check for it.
same_type(E::precision(), std::size_t(0));
}
input_iterator_archetype<boost::uint32_t> sb, se;
};