aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-openmp.cc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-04-25 14:24:48 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-04-25 16:16:33 +0100
commit2fbdcf5e58c83a671b4d00f72b7ef91c462b6fc8 (patch)
tree430396d99d87c717c2caf14e2385278e90c78f31 /gcc/fortran/trans-openmp.cc
parenta5cee0480c10bafa8ed65d49e5cedca23d98d7b7 (diff)
downloadgcc-2fbdcf5e58c83a671b4d00f72b7ef91c462b6fc8.zip
gcc-2fbdcf5e58c83a671b4d00f72b7ef91c462b6fc8.tar.gz
gcc-2fbdcf5e58c83a671b4d00f72b7ef91c462b6fc8.tar.bz2
libstdc++: Implement constexpr std::unique_ptr for C++23 (P2273R3)
libstdc++-v3/ChangeLog: * include/bits/ptr_traits.h (__cpp_lib_constexpr_memory): Define conditionally. * include/bits/unique_ptr.h (__cpp_lib_constexpr_memory): Define for C++23. (default_delete, default_delete<T[]>, __uniq_ptr_impl) (unique_ptr, unique_ptr<T[], D>): Add constexpr to all member functions. * include/std/version (__cpp_lib_constexpr_memory): Define new value for C++23. * testsuite/20_util/unique_ptr/assign/constexpr.cc: New test. * testsuite/20_util/unique_ptr/comparison/constexpr.cc: New test. * testsuite/20_util/unique_ptr/cons/constexpr_c++20.cc: New test. * testsuite/20_util/unique_ptr/creation/constexpr.cc: New test. * testsuite/20_util/unique_ptr/modifiers/constexpr.cc: New test. * testsuite/20_util/unique_ptr/specialized_algorithms/constexpr.cc: New test.
Diffstat (limited to 'gcc/fortran/trans-openmp.cc')
0 files changed, 0 insertions, 0 deletions