Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Types | Public Member Functions | List of all members
cRandomDeviceSeeder Struct Reference

Utility to seed a random engine with maximal entropy from random_device. More...

#include <FastRandom.h>

Public Types

using result_type = std::random_device::result_type
 

Public Member Functions

template<class Itr >
void generate (Itr first, Itr last)
 

Detailed Description

Utility to seed a random engine with maximal entropy from random_device.

Definition at line 183 of file FastRandom.h.

Member Typedef Documentation

◆ result_type

using cRandomDeviceSeeder::result_type = std::random_device::result_type

Definition at line 185 of file FastRandom.h.

Member Function Documentation

◆ generate()

template<class Itr >
void cRandomDeviceSeeder::generate ( Itr  first,
Itr  last 
)
inline

Definition at line 188 of file FastRandom.h.


The documentation for this struct was generated from the following file: