Re: [PATCH] Add experimental::sample and experimental::shuffle from N4531

2018-07-05 Thread Christophe Lyon
On Wed, 4 Jul 2018 at 18:56, Jonathan Wakely wrote: > > On 29/06/18 10:45 +0100, Jonathan Wakely wrote: > >On 29/06/18 09:39 +0200, Christophe Lyon wrote: > >>On Fri, 29 Jun 2018 at 09:21, Jonathan Wakely wrote: > >>> > >>>On 29/06/18 08:55 +0200, Christophe Lyon wrote: > On Mon, 25 Jun 2018

Re: [PATCH] Add experimental::sample and experimental::shuffle from N4531

2018-07-04 Thread Jonathan Wakely
On 29/06/18 10:45 +0100, Jonathan Wakely wrote: On 29/06/18 09:39 +0200, Christophe Lyon wrote: On Fri, 29 Jun 2018 at 09:21, Jonathan Wakely wrote: On 29/06/18 08:55 +0200, Christophe Lyon wrote: On Mon, 25 Jun 2018 at 18:23, Jonathan Wakely wrote: The additions to were added in 2015 bu

Re: [PATCH] Add experimental::sample and experimental::shuffle from N4531

2018-06-29 Thread Jonathan Wakely
On 29/06/18 09:39 +0200, Christophe Lyon wrote: On Fri, 29 Jun 2018 at 09:21, Jonathan Wakely wrote: On 29/06/18 08:55 +0200, Christophe Lyon wrote: >On Mon, 25 Jun 2018 at 18:23, Jonathan Wakely wrote: >> >> The additions to were added in 2015 but the new >> algorithms in were not. This ad

Re: [PATCH] Add experimental::sample and experimental::shuffle from N4531

2018-06-29 Thread Christophe Lyon
On Fri, 29 Jun 2018 at 09:21, Jonathan Wakely wrote: > > On 29/06/18 08:55 +0200, Christophe Lyon wrote: > >On Mon, 25 Jun 2018 at 18:23, Jonathan Wakely wrote: > >> > >> The additions to were added in 2015 but the new > >> algorithms in were not. This adds them. > >> > >> * include/exp

Re: [PATCH] Add experimental::sample and experimental::shuffle from N4531

2018-06-29 Thread Jonathan Wakely
On 29/06/18 08:55 +0200, Christophe Lyon wrote: On Mon, 25 Jun 2018 at 18:23, Jonathan Wakely wrote: The additions to were added in 2015 but the new algorithms in were not. This adds them. * include/experimental/algorithm (sample, shuffle): Add new overloads using per-thread

Re: [PATCH] Add experimental::sample and experimental::shuffle from N4531

2018-06-28 Thread Christophe Lyon
On Mon, 25 Jun 2018 at 18:23, Jonathan Wakely wrote: > > The additions to were added in 2015 but the new > algorithms in were not. This adds them. > > * include/experimental/algorithm (sample, shuffle): Add new overloads > using per-thread random number engine. > * testsu

Re: [PATCH] Add experimental::sample and experimental::shuffle from N4531

2018-06-25 Thread Jonathan Wakely
On 25/06/18 17:23 +0100, Jonathan Wakely wrote: The additions to were added in 2015 but the new algorithms in were not. This adds them. * include/experimental/algorithm (sample, shuffle): Add new overloads using per-thread random number engine. * testsuite/experimental/

[PATCH] Add experimental::sample and experimental::shuffle from N4531

2018-06-25 Thread Jonathan Wakely
The additions to were added in 2015 but the new algorithms in 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 d