Cuberite
A lightweight, fast and extensible game server for Minecraft
Classes | Typedefs | Functions
Detail Namespace Reference

Classes

struct  cUniformImpl
 

Typedefs

template<class IntType >
using cUniform = typename cUniformImpl< IntType >::type
 uniform_int_distribution<char> is undefined so this aliases a valid type. More...
 
template<class Char >
using IsChar = typename std::is_same< typename std::make_signed< Char >::type, signed char >::type
 Aliases true_type if Char is any variant of char ignoring signed-ness. More...
 

Functions

UInt32 GetRandomSeed ()
 Returns a low quality seed. More...
 

Typedef Documentation

◆ cUniform

template<class IntType >
using Detail::cUniform = typedef typename cUniformImpl<IntType>::type

uniform_int_distribution<char> is undefined so this aliases a valid type.

Definition at line 48 of file FastRandom.h.

◆ IsChar

template<class Char >
using Detail::IsChar = typedef typename std::is_same<typename std::make_signed<Char>::type, signed char>::type

Aliases true_type if Char is any variant of char ignoring signed-ness.

Definition at line 30 of file FastRandom.h.

Function Documentation

◆ GetRandomSeed()

UInt32 Detail::GetRandomSeed ( )

Returns a low quality seed.

Definition at line 26 of file FastRandom.cpp.