]> gcc.gnu.org Git - gcc.git/commit
random.tcc (uniform_int_distribution<>::operator()): Fix to work well for arbitrary...
authorPaolo Carlini <paolo.carlini@oracle.com>
Sun, 20 Jun 2010 21:03:10 +0000 (21:03 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 20 Jun 2010 21:03:10 +0000 (21:03 +0000)
commitb7d3d70f77cc0e428dca48fa373d242b8c4c50be
treefc707960d512be50eae1db030f62475a428b64cb
parent6e2f19568ad7378a11073048ffb2372045dc665a
random.tcc (uniform_int_distribution<>::operator()): Fix to work well for arbitrary urng.max() and urng.min().

2010-06-20  Paolo Carlini  <paolo.carlini@oracle.com>
    Kai-Uwe Bux  <bux@kubux.net>

* include/bits/random.tcc (uniform_int_distribution<>::operator()):
Fix to work well for arbitrary urng.max() and urng.min().

Co-Authored-By: Kai-Uwe Bux <bux@kubux.net>
From-SVN: r161054
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/random.tcc
This page took 0.058119 seconds and 5 git commands to generate.