[PATCH] Implement std::experimental::sample
Marshall Clow
mclow.lists at gmail.com
Thu Apr 30 08:44:08 PDT 2015
================
Comment at: include/experimental/algorithm:85
@@ +84,3 @@
+ return _VSTD_LFTS::__sample(
+ __first, __last, __out, __n, __g,
+ typename iterator_traits<_PopulationIterator>::iterator_category(),
----------------
I think that should forward the RNG: `_VSTD::forward<_UniformRandomNumberGenerator>(__g)`
http://reviews.llvm.org/D9044
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the cfe-commits
mailing list