Y
Hacker News
new
|
ask
|
show
|
jobs
by
loeg
351 days ago
Well, it's in std. So there's an appeal to authority (the C++ language authors should be smart, right?) and convenience.
1 comments
on_the_train
350 days ago
There are still others in <random>. Yet they always use the cool twister one with the funny numbers
link
loeg
350 days ago
There's std::linear_congruential_engine, but it doesn't provide you with any (good) default parameters; only the bad ones from historical rand() implementations (minstd_rand0 / minstd_rand).
link
slavik81
350 days ago
What alternative within <random> would you recommend and why?
link