libUTL++
RandUtils.h
1
#pragma once
2
4
5
// a hack for randutils on MinGW where std::this_thread may be absent (impl @ ubc/util.cpp)
6
#ifndef _GLIBCXX_HAS_GTHREADS
7
namespace
std
8
{
9
struct
this_thread
10
{
11
static
size_t
get_id();
12
};
13
}
14
#endif
15
17
18
#undef new
19
#include <libutl/randutils.hpp>
20
#include <libutl/gblnew_macros.h>
21
23
24
namespace
randutils
25
{
26
using
mt19937_32_rng = randutils::random_generator<std::mt19937>;
27
using
mt19937_64_rng = randutils::random_generator<std::mt19937_64>;
28
}
std
Definition:
RandUtils.h:7
randutils
Definition:
RandUtils.h:24
include
RandUtils.h
Generated on Tue Feb 7 2017 20:11:33 for libUTL++ by
1.8.13