1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
12 // template <class UIntType, size_t w, size_t n, size_t m, size_t r,
13 // UIntType a, size_t u, UIntType d, size_t s,
14 // UIntType b, size_t t, UIntType c, size_t l, UIntType f>
15 // class mersenne_twister_engine
19 // typedef UIntType result_type;
22 #include <type_traits>
27 static_assert((std::is_same<
28 std::mt19937::result_type,
29 std::uint_fast32_t>::value), "");
35 static_assert((std::is_same<
36 std::mt19937_64::result_type,
37 std::uint_fast64_t>::value), "");