std::uniform_random_bit_generator Concept Reference

`#include <uniform_int_dist.h>`

## Concept definition

template<typename _Gen>
concept std::uniform_random_bit_generator = invocable<_Gen&> && unsigned_integral<invoke_result_t<_Gen&>>
&& requires
{
{ _Gen::min() } -> same_as<invoke_result_t<_Gen&>>;
{ _Gen::max() } -> same_as<invoke_result_t<_Gen&>>;
requires bool_constant<(_Gen::min() < _Gen::max())>::value;
}
std::bool_constant
integral_constant< bool, __v > bool_constant
Alias template for compile-time boolean constant types.
Definition type_traits:98
std::same_as
[concept.same], concept same_as
Definition concepts:63
std::invocable
[concept.invocable], concept invocable
Definition concepts:336
std::uniform_random_bit_generator
Requirements for a uniform random bit generator.
Definition uniform_int_dist.h:49

## Detailed Description

Requirements for a uniform random bit generator.

Definition at line 48 of file uniform_int_dist.h.