aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-10-15 14:49:21 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-10-15 18:26:53 +0100
commit2c564e813c0626802e5bfb066c094933d5e6a774 (patch)
treee295fdfa0a8b4f083c8ad86dbde42484747a0ea6 /gcc
parentad820b0bb5f8342a8db2831d1f15c103583a3ba0 (diff)
downloadgcc-2c564e813c0626802e5bfb066c094933d5e6a774.zip
gcc-2c564e813c0626802e5bfb066c094933d5e6a774.tar.gz
gcc-2c564e813c0626802e5bfb066c094933d5e6a774.tar.bz2
libstdc++: Make non-propagating-cache fully constexpr [PR101263]
libstdc++-v3/ChangeLog: PR libstdc++/101263 * include/std/ranges (__cached): New wrapper struct. (__non_propagating_cache): Use __cached for contained value. (__non_propagating_cache::_M_emplace_deref): Add constexpr. Use std::construct_at instead of placement new. * testsuite/std/ranges/adaptors/join.cc: Check constexpr works.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions