vSMC
vSMC: Scalable Monte Carlo
Classes | Namespaces | Macros
generator_wrapper.hpp File Reference
#include <vsmc/rng/internal/common.hpp>

Go to the source code of this file.

Classes

class  vsmc::GeneratorWrapper< ResultType, Generator, Traits >
 A thin wrapper over any RNG Generator for use with C++11 API. More...
 
struct  vsmc::traits::GeneratorWrapperMinMaxTrait< ResultType, typename >
 Default traits of GeneratorWrapper. More...
 

Namespaces

 vsmc
 
 vsmc::traits
 

Macros

#define VSMC_STATIC_ASSERT_RNG_GENERATOR_WRAPPER   VSMC_STATIC_ASSERT_RNG_GENERATOR_WRAPPER_RESULT_TYPE(ResultType);
 
#define VSMC_STATIC_ASSERT_RNG_GENERATOR_WRAPPER_RESULT_TYPE(ResultType)
 

Macro Definition Documentation

#define VSMC_STATIC_ASSERT_RNG_GENERATOR_WRAPPER   VSMC_STATIC_ASSERT_RNG_GENERATOR_WRAPPER_RESULT_TYPE(ResultType);

Definition at line 44 of file generator_wrapper.hpp.

#define VSMC_STATIC_ASSERT_RNG_GENERATOR_WRAPPER_RESULT_TYPE (   ResultType)
Value:
cxx11::is_same<ResultType, uint16_t>::value || \
cxx11::is_same<ResultType, uint32_t>::value || \
cxx11::is_same<ResultType, uint64_t>::value), \
USE_GeneratorWrapper_WITH_RESULT_TYPE_OTHER_THAN_uint16_t_OR_uint32_t_OR_uint64_t)
#define VSMC_STATIC_ASSERT(cond, msg)
Definition: assert.hpp:46

Definition at line 37 of file generator_wrapper.hpp.