共用方式為


random_shuffle

std::random_shuffle() 函式已遭取代,取代為 std::shuffle()。 如需程式碼範例及詳細資訊,請參閱 <random> 以及 Stackoverflow 文章 std::random_shuffle 方法為何在 C++14 中遭到取代?(英文)。