4 ms·
And the only reason is its cool name. Humans are weird
by on_the_train 1y ago
And the only reason is its cool name. Humans are weird
- loeg 1y agoWell, it's in std. So there's an appeal to authority (the C++ language authors should be smart, right?) and convenience.
- on_the_train 1y agoThere are still others in <random>. Yet they always use the cool twister one with the funny numbers
- slavik81 1y agoI used it because it was recommended by Stephan T. Lavavej, maintainer of Visual Studio's C++ Standard Library, in his "rand() Considered Harmful" talk, back when <random> was introduced. See 11m30s. https://youtu.be/LDPMpc-ENqY?t=10m50s https://youtu.be/LDPMpc-ENqY?t=10m50s