名稱空間
變體
操作

std::subtract_with_carry_engine<UIntType,w,s,r>::operator()

來自 cppreference.com
 
 
 
 
 
result_type operator()();
(C++11 起)

推進引擎狀態,並從新狀態生成一個偽隨機值。

[編輯] 返回值

一個偽隨機數,範圍在 [min()max()]

[編輯] 複雜度

攤還常數時間。

[編輯] 參見

將引擎的狀態推進指定量
(public member function) [編輯]