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 Engine, size_t k>
13 // class shuffle_order_engine
17 // typedef typename Engine::result_type result_type;
19 // // engine characteristics
20 // static constexpr size_t table_size = k;
21 // static constexpr result_type min() { return Engine::min; }
22 // static constexpr result_type max() { return Engine::max; }
25 #include <type_traits>
29 void where(const _Tp &) {}
34 typedef std::knuth_b E;
35 static_assert(E::table_size == 256, "");
36 /*static_*/assert((E::min() == 1)/*, ""*/);
37 /*static_*/assert((E::max() == 2147483646)/*, ""*/);