aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/expr.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-06-25 17:23:49 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2018-06-25 17:23:49 +0100
commit37cb7887f8507225f22e053045be851645913f38 (patch)
tree22c8b8a0a1a4dda2c0b5d43d6b419d143c1071ea /gcc/fortran/expr.c
parent10e68fe44f9f1fa25f4fd3afc5d75c4d7503d364 (diff)
downloadgcc-37cb7887f8507225f22e053045be851645913f38.zip
gcc-37cb7887f8507225f22e053045be851645913f38.tar.gz
gcc-37cb7887f8507225f22e053045be851645913f38.tar.bz2
Add experimental::sample and experimental::shuffle from N4531
The additions to <experimental/random> were added in 2015 but the new algorithms in <experimental/algorithm> were not. This adds them. * include/experimental/algorithm (sample, shuffle): Add new overloads using per-thread random number engine. * testsuite/experimental/algorithm/sample.cc: Simpify and reduce dependencies by using __gnu_test::test_container. * testsuite/experimental/algorithm/sample-2.cc: New. * testsuite/experimental/algorithm/shuffle.cc: New. From-SVN: r262024
Diffstat (limited to 'gcc/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions