I know that c++11 PRNG in <random> such as std::mt19937 are not usable in compile time, but access the __TIME__ preprocessor macro to implement the constexpr version of PRNG is possible, why std::sample/std::ranges::sample is not constexpr even in C++20?
Aucun commentaire:
Enregistrer un commentaire