Ticket #7121: shuffle_output.hpp.patch

File shuffle_output.hpp.patch, 799 bytes (added by anonymous, 10 years ago)
  • shuffle_output.hpp

     
    2828class shuffle_output : public shuffle_order_engine<URNG, k>
    2929{
    3030    typedef shuffle_order_engine<URNG, k> base_t;
    31     typedef typename base_t::result_type result_type;
    3231public:
     32    typedef typename base_t::result_type result_type;
    3333    shuffle_output() {}
    3434    template<class T>
    35     shuffle_output(T& arg) : base_t(arg) {}
     35    explicit shuffle_output(T& arg) : base_t(arg) {}
    3636    template<class T>
    37     shuffle_output(const T& arg) : base_t(arg) {}
     37    explicit shuffle_output(const T& arg) : base_t(arg) {}
    3838    template<class It>
    3939    shuffle_output(It& first, It last) : base_t(first, last) {}
    4040    result_type min BOOST_PREVENT_MACRO_SUBSTITUTION ()