Fortune for cpprng's current commit: Half blessing − 半吉lib
parent
3b1628d396
commit
2b24ab0408
@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include "../rng.h"
|
||||
#include "../mem.h"
|
||||
|
||||
namespace rng
|
||||
{
|
||||
struct crand final : public Random
|
||||
{
|
||||
|
||||
private:
|
||||
struct _inner;
|
||||
// XXX: FUCK: This doesn't fucking work...
|
||||
mem::aligned_ptr<jr_state> _state;
|
||||
};
|
||||
}
|
@ -1,8 +1,15 @@
|
||||
#include <rng.h>
|
||||
#include <mem.h>
|
||||
|
||||
#include <rng/crand.h>
|
||||
#include "crand.h"
|
||||
|
||||
namespace rng
|
||||
{
|
||||
struct crand::_inner {
|
||||
|
||||
jr_state st;
|
||||
};
|
||||
|
||||
//TODO: Make header for rng::crand, a derived type of `Random`.
|
||||
}
|
||||
|
Loading…
Reference in new issue