[PATCH] Implement std::experimental::sample
mclow.lists at gmail.com
Tue Apr 28 06:07:23 PDT 2015
Two more comments:
1. In the libc++ test directory (support), there's a file full of iterator adapters that take a `int *` (say), and turn it into a forward iterator (for example). Makes writing tests simpler.
2. Here's another test candidate: `PopulationIteartor`'s value type shall be writeable to `out`.
That means that you should be able to generate a sample of (say) doubles from a population of ints.
More information about the cfe-commits