This makes it possible to plug it into the various standard C++11 random distribution algorithms and other functions like std::shuffle.
Make FastRandomContext support standard C++11 RNG interface #12742
pull sipa wants to merge 1 commits into bitcoin:master from sipa:201803_stdrandom changing 2 files +29 −0-
sipa commented at 2:12 AM on March 21, 2018: member
- fanquake added the label Refactoring on Mar 21, 2018
- sipa force-pushed on Mar 21, 2018
-
1ec1602a45
Make FastRandomContext support standard C++11 RNG interface
This makes it possible to plug it into the various standard C++11 random distribution algorithms and other functions like std::shuffle.
- sipa force-pushed on Mar 21, 2018
- eklitzke approved
-
eklitzke commented at 7:35 AM on March 21, 2018: contributor
utACK 1ec1602a4549f6b68586cead8eff701bceb624f5
+1 to more idiomatic C++
-
practicalswift commented at 8:43 AM on March 21, 2018: contributor
Very nice!
utACK 1ec1602a4549f6b68586cead8eff701bceb624f5
-
MarcoFalke commented at 12:14 PM on March 21, 2018: member
utACK 1ec1602a4549f6b68586cead8eff701bceb624f5
-
instagibbs commented at 2:52 PM on March 22, 2018: member
- MarcoFalke merged this on Mar 22, 2018
- MarcoFalke closed this on Mar 22, 2018
- MarcoFalke referenced this in commit f686002a8e on Mar 22, 2018
- PastaPastaPasta referenced this in commit 548eec881e on Sep 27, 2020
- PastaPastaPasta referenced this in commit 87893bd17d on Oct 22, 2020
- random-zebra referenced this in commit 93f43f0f81 on Apr 14, 2021
- DrahtBot locked this on Sep 8, 2021
Contributors
Labels