#include <kblib/random.h>
|
constexpr auto | operator() (UIntType in) const noexcept -> UIntType |
|
|
template<typename UIntInput > |
static constexpr auto | g (UIntInput in) noexcept -> UIntType |
|
static constexpr auto | min (UIntType min, [[maybe_unused]] UIntType max) noexcept -> UIntType |
|
static constexpr auto | max ([[maybe_unused]] UIntType min, UIntType max) noexcept -> UIntType |
|
template<typename UIntType, UIntType shift, UIntType mask = max>
struct kblib::shift_mask< UIntType, shift, mask >
Definition at line 294 of file random.h.
◆ result_type
template<typename UIntType , UIntType shift, UIntType mask = max>
◆ g()
template<typename UIntType , UIntType shift, UIntType mask = max>
template<typename UIntInput >
static constexpr auto kblib::shift_mask< UIntType, shift, mask >::g |
( |
UIntInput |
in | ) |
-> UIntType |
|
inlinestaticconstexprnoexcept |
◆ max()
template<typename UIntType , UIntType shift, UIntType mask = max>
static constexpr auto kblib::shift_mask< UIntType, shift, mask >::max |
( |
[[maybe_unused] ] UIntType |
min, |
|
|
UIntType |
max |
|
) |
| -> UIntType |
|
inlinestaticconstexprnoexcept |
◆ min()
template<typename UIntType , UIntType shift, UIntType mask = max>
static constexpr auto kblib::shift_mask< UIntType, shift, mask >::min |
( |
UIntType |
min, |
|
|
[[maybe_unused] ] UIntType |
max |
|
) |
| -> UIntType |
|
inlinestaticconstexprnoexcept |
◆ operator()()
template<typename UIntType , UIntType shift, UIntType mask = max>
constexpr auto kblib::shift_mask< UIntType, shift, mask >::operator() |
( |
UIntType |
in | ) |
const -> UIntType |
|
inlineconstexprnoexcept |
The documentation for this struct was generated from the following file: