[PATCH] D41316: [libcxx] Allow random_device to be built optionally

Ben Craig via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 24 11:54:21 PDT 2018


bcraig added a comment.

For those that would prefer random device to not exist if it isn't cryptographically secure, please write a wg21 paper.  I will gladly review such a paper, and if you need a presenter, then I will present it if I am attending.  I won't be at Rapperswil, but I will be at San Diego.

Stated differently, I agree with both Marshall and the other commenters on this page.  I don't want busted random_devices to build, AND I want a standards compliant implementation.

To some degree, this overlaps with http://wg21.link/P0829 .  That (my) paper does not require random_device to exist in a freestanding environment.


Repository:
  rCXX libc++

https://reviews.llvm.org/D41316





More information about the cfe-commits mailing list