kblib 0.2.3
General utilities library for modern C++
Catch::SimplePcg32 Class Reference

#include <catch/catch.hpp>

Public Types

using result_type = std::uint32_t
 
using result_type = std::uint32_t
 

Public Member Functions

 SimplePcg32 ()
 
 SimplePcg32 (result_type seed_)
 
void seed (result_type seed_)
 
void discard (uint64_t skip)
 
result_type operator() ()
 
 SimplePcg32 ()
 
 SimplePcg32 (result_type seed_)
 
void seed (result_type seed_)
 
void discard (uint64_t skip)
 
result_type operator() ()
 

Static Public Member Functions

static constexpr result_type() min ()
 
static constexpr result_type() max ()
 
static constexpr result_type() min ()
 
static constexpr result_type() max ()
 

Friends

bool operator== (SimplePcg32 const &lhs, SimplePcg32 const &rhs)
 
bool operator!= (SimplePcg32 const &lhs, SimplePcg32 const &rhs)
 
bool operator== (SimplePcg32 const &lhs, SimplePcg32 const &rhs)
 
bool operator!= (SimplePcg32 const &lhs, SimplePcg32 const &rhs)
 

Detailed Description

Definition at line 4558 of file catch.hpp.

Member Typedef Documentation

◆ result_type [1/2]

using Catch::SimplePcg32::result_type = std::uint32_t

Definition at line 4561 of file catch.hpp.

◆ result_type [2/2]

using Catch::SimplePcg32::result_type = std::uint32_t

Definition at line 4561 of file catch.hpp.

Constructor & Destructor Documentation

◆ SimplePcg32() [1/4]

Catch::SimplePcg32::SimplePcg32 ( )
inline

Definition at line 4570 of file catch.hpp.

◆ SimplePcg32() [2/4]

Catch::SimplePcg32::SimplePcg32 ( result_type  seed_)
explicit

◆ SimplePcg32() [3/4]

Catch::SimplePcg32::SimplePcg32 ( )
inline

Definition at line 4570 of file catch.hpp.

◆ SimplePcg32() [4/4]

Catch::SimplePcg32::SimplePcg32 ( result_type  seed_)
explicit

Member Function Documentation

◆ discard() [1/2]

void Catch::SimplePcg32::discard ( uint64_t  skip)

◆ discard() [2/2]

void Catch::SimplePcg32::discard ( uint64_t  skip)

◆ max() [1/2]

static constexpr result_type() Catch::SimplePcg32::max ( )
inlinestaticconstexpr

Definition at line 4565 of file catch.hpp.

◆ max() [2/2]

static constexpr result_type() Catch::SimplePcg32::max ( )
inlinestaticconstexpr

Definition at line 4565 of file catch.hpp.

◆ min() [1/2]

static constexpr result_type() Catch::SimplePcg32::min ( )
inlinestaticconstexpr

Definition at line 4562 of file catch.hpp.

◆ min() [2/2]

static constexpr result_type() Catch::SimplePcg32::min ( )
inlinestaticconstexpr

Definition at line 4562 of file catch.hpp.

◆ operator()() [1/2]

result_type Catch::SimplePcg32::operator() ( )

◆ operator()() [2/2]

result_type Catch::SimplePcg32::operator() ( )

◆ seed() [1/2]

void Catch::SimplePcg32::seed ( result_type  seed_)

◆ seed() [2/2]

void Catch::SimplePcg32::seed ( result_type  seed_)

Friends And Related Function Documentation

◆ operator!= [1/2]

bool operator!= ( SimplePcg32 const &  lhs,
SimplePcg32 const &  rhs 
)
friend

◆ operator!= [2/2]

bool operator!= ( SimplePcg32 const &  lhs,
SimplePcg32 const &  rhs 
)
friend

◆ operator== [1/2]

bool operator== ( SimplePcg32 const &  lhs,
SimplePcg32 const &  rhs 
)
friend

◆ operator== [2/2]

bool operator== ( SimplePcg32 const &  lhs,
SimplePcg32 const &  rhs 
)
friend

The documentation for this class was generated from the following files: