YarrPP  0.1
C++ Library for Pirates
Classes | Functions
random.hpp File Reference
#include <yarr/config.hpp>
#include <cstdint>
#include <random>
Include dependency graph for random.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  yarr::random_seed_seq
 

Functions

void yarr::random_fill (char *begin, char *end)
 
template<typename TRandomNumberEngine >
TRandomNumberEngine yarr::random_seeded ()
 

Detailed Description

Facilities for random number generation and seeding RNGs.

See also
http://www.gockelhut.com/cpp-pirate/random-seed.html

Definition in file random.hpp.

Function Documentation

void yarr::random_fill ( char *  begin,
char *  end 
)

Fill the range [begin, end) with random data from a random device.

Definition at line 18 of file random.cpp.