<random>

公共成員函式 (public member function)
<random>

std::uniform_real_distribution::a

result_type a() const;
範圍的下界 (Lower bound of range)
返回與 uniform_real_distribution 關聯的引數 a。此引數指定其成員 operator() 可能返回的值的範圍的下界。

此值是在 構造 時設定的,或者透過呼叫成員函式 param 來設定的。

引數



返回值

分佈物件生成的可能值的範圍的下界。
結果型別 (result_type)是一個成員型別,定義為第一個類模板引數的別名 (實數型別 (RealType)).

複雜度

常量。

另見