mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix random_result<E, D>::next_generator(): returns variate_generator<E, D>
This commit is contained in:
parent
6e5004b6f4
commit
406a1ff789
8 changed files with 242 additions and 98 deletions
25
sprout/random/random_result_fwd.hpp
Normal file
25
sprout/random/random_result_fwd.hpp
Normal file
|
@ -0,0 +1,25 @@
|
|||
/*=============================================================================
|
||||
Copyright (c) 2011-2014 Bolero MURAKAMI
|
||||
https://github.com/bolero-MURAKAMI/Sprout
|
||||
|
||||
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)
|
||||
=============================================================================*/
|
||||
#ifndef SPROUT_RANDOM_RANDOM_RESULT_FWD_HPP
|
||||
#define SPROUT_RANDOM_RANDOM_RESULT_FWD_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
|
||||
namespace sprout {
|
||||
namespace random {
|
||||
//
|
||||
// random_result
|
||||
//
|
||||
template<typename Engine, typename Distribution = void, typename Enable = void>
|
||||
class random_result;
|
||||
} // namespace random
|
||||
|
||||
using sprout::random::random_result;
|
||||
} // namespace sprout
|
||||
|
||||
#endif // #ifndef SPROUT_RANDOM_RANDOM_RESULT_FWD_HPP
|
Loading…
Add table
Add a link
Reference in a new issue