Skip to content

Namespace::Util

Bae jiun, Maybe edited this page Dec 26, 2017 · 1 revision

namespace util implementation

Classes

Random

Beautiful random generater with uniform distribution.

methods

  • size_t next() return random templated value.
  • auto next<size_t n>() return n random values as tuple, with C++17 easily get values as auto [i, j, k] = .next<3>();
Clone this wiki locally