[PATCH] Implement std::experimental::sample

Evgeniy Stepanov eugenis at google.com
Fri Apr 24 11:26:40 PDT 2015


In http://reviews.llvm.org/D9044#161380, @mclow.lists wrote:

> @Eugenius, you should probably take a look at LWG issue #2463  
>  http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#2463
>
> I don't think it will require a code change; but you should make sure that we satisfy it.


We do. Thanks for pointing this out.
The code does exactly one pass over [first, last), and each iteration has constant complexity.


http://reviews.llvm.org/D9044

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list