aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2025-03-14 16:10:35 -0400
committerPatrick Palka <ppalka@redhat.com>2025-03-14 16:10:35 -0400
commit2f03a8d7be9775312c50abdc99109aaf8641bda3 (patch)
tree18dd515422bde8d614e2d7b7f2f0cc66bff61317 /gcc
parentb2de4b0926bddbb97b991dd95592c714ee519e1e (diff)
downloadgcc-2f03a8d7be9775312c50abdc99109aaf8641bda3.zip
gcc-2f03a8d7be9775312c50abdc99109aaf8641bda3.tar.gz
gcc-2f03a8d7be9775312c50abdc99109aaf8641bda3.tar.bz2
libstdc++: Missing 'constexpr' in vector's from_range ctor [PR119282]
A missing 'constexpr' in the non-forward (and non-sized) branch of our recently implemented vector from_range ctor was causing this valid example to be rejected with a cryptic error. PR libstdc++/119282 libstdc++-v3/ChangeLog: * include/bits/stl_vector.h (vector::vector(from_range_t)): Add missing 'constexpr' to local class _Clear. * testsuite/std/ranges/conv/1.cc (test_pr119282): New test. Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions