Namespaces
Variants
Views
Actions

std::independent_bits_engine<Engine,W,UIntType>::max

From cppreference.com
< cpp‎ | numeric‎ | random‎ | independent bits engine
Revision as of 14:04, 7 August 2021 by Space Mission (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
 
 
static constexpr result_type max();
(since C++11)

Returns the maximum value potentially generated by the engine adaptor. This value is equal to 2w
- 1.

Contents

[edit] Parameters

(none)

[edit] Return value

The maximum potentially generated value.

[edit] Complexity

Constant.

[edit] See also

[static]
gets the smallest possible value in the output range
(public static member function) [edit]