|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80990 - trunk/boost/random
From: steven_at_[hidden]
Date: 2012-10-14 23:18:25
Author: steven_watanabe
Date: 2012-10-14 23:18:25 EDT (Sun, 14 Oct 2012)
New Revision: 80990
URL: http://svn.boost.org/trac/boost/changeset/80990
Log:
Make result_type public and constructors explicit on shuffle_output. Fixes #7121.
Text files modified:
trunk/boost/random/shuffle_output.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/boost/random/shuffle_output.hpp
==============================================================================
--- trunk/boost/random/shuffle_output.hpp (original)
+++ trunk/boost/random/shuffle_output.hpp 2012-10-14 23:18:25 EDT (Sun, 14 Oct 2012)
@@ -28,13 +28,13 @@
class shuffle_output : public shuffle_order_engine<URNG, k>
{
typedef shuffle_order_engine<URNG, k> base_t;
- typedef typename base_t::result_type result_type;
public:
+ typedef typename base_t::result_type result_type;
shuffle_output() {}
template<class T>
- shuffle_output(T& arg) : base_t(arg) {}
+ explicit shuffle_output(T& arg) : base_t(arg) {}
template<class T>
- shuffle_output(const T& arg) : base_t(arg) {}
+ explicit shuffle_output(const T& arg) : base_t(arg) {}
template<class It>
shuffle_output(It& first, It last) : base_t(first, last) {}
result_type min BOOST_PREVENT_MACRO_SUBSTITUTION ()
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk