[libcxx-commits] [PATCH] D114920: [libc++] Explicitly reject `uniform_int_distribution<bool>` and `<char>`.

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Feb 27 08:52:37 PST 2022


Quuxplusone updated this revision to Diff 411679.
Quuxplusone retitled this revision from "[libc++] Explicitly reject `uniform_int_distribution<bool>`; reject URNGs with signed result types" to "[libc++] Explicitly reject `uniform_int_distribution<bool>` and `<char>`.".
Quuxplusone edited the summary of this revision.
Quuxplusone added a comment.

Rebase. Split out "Explicitly reject URNG types with signed result_types" into its own PR.
If CI on this part is green, I'll probably just land it on Monday, since it's been approved since forever.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114920/new/

https://reviews.llvm.org/D114920

Files:
  libcxx/docs/ReleaseNotes.rst
  libcxx/include/CMakeLists.txt
  libcxx/include/__random/binomial_distribution.h
  libcxx/include/__random/discrete_distribution.h
  libcxx/include/__random/geometric_distribution.h
  libcxx/include/__random/is_valid.h
  libcxx/include/__random/negative_binomial_distribution.h
  libcxx/include/__random/poisson_distribution.h
  libcxx/include/__random/uniform_int_distribution.h
  libcxx/include/module.modulemap
  libcxx/include/random
  libcxx/test/libcxx/diagnostics/detail.headers/random/is_valid.header.verify.cpp
  libcxx/test/libcxx/diagnostics/detail.headers/random/is_valid.module.verify.cpp
  libcxx/test/libcxx/numerics/rand/rand.req.urng/valid_int_type.verify.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114920.411679.patch
Type: text/x-patch
Size: 13310 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220227/a7be9124/attachment.bin>


More information about the libcxx-commits mailing list