[all-commits] [llvm/llvm-project] 8b29b8: [libc++] Fix LWG3422 "Issues of seed_seq's constru...
Quuxplusone via All-commits
all-commits at lists.llvm.org
Mon Jan 24 17:14:48 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8b29b84c99ac8140c9820fd34b733bdedf5bb0f5
https://github.com/llvm/llvm-project/commit/8b29b84c99ac8140c9820fd34b733bdedf5bb0f5
Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
Date: 2022-01-24 (Mon, 24 Jan 2022)
Changed paths:
M libcxx/docs/Status/Cxx2bIssues.csv
M libcxx/include/__random/seed_seq.h
M libcxx/test/std/numerics/rand/rand.util/rand.util.seedseq/default.pass.cpp
M libcxx/test/std/numerics/rand/rand.util/rand.util.seedseq/iterator.pass.cpp
A libcxx/test/std/numerics/rand/rand.util/rand.util.seedseq/iterator.verify.cpp
Log Message:
-----------
[libc++] Fix LWG3422 "Issues of seed_seq's constructors"
https://cplusplus.github.io/LWG/issue3422
Also add a static_assert to check the "Mandates:" on the
iterator-pair constructor. Oddly, the `InputIterator` parameter
itself is merely preconditioned, not constrained, to satisfy the
input iterator requirements.
Also drive-by rename `init` to `__init`.
Differential Revision: https://reviews.llvm.org/D117962
More information about the All-commits
mailing list