名稱空間
變體
操作

std::shuffle_order_engine<Engine,K>::operator()

來自 cppreference.com
< cpp‎ | 數值‎ | 隨機‎ | 亂序引擎
 
 
 
 
 
result_type operator()();
(C++11 起)

生成一個隨機值。底層引擎的狀態會前進一次或多次。

目錄

[編輯] 引數

(無)

[編輯] 返回值

一個介於 [min(), max()] 之間的偽隨機數。

[編輯] 異常

不丟擲任何異常。

[編輯] 參閱

(C++11)
按指定量推進介面卡的狀態
(public 成員函式) [編輯]