diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-10-19 22:11:39 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-10-19 22:11:39 +0100 |
commit | e7a0af84d68f50b65dffa1af462d10bd4bf03939 (patch) | |
tree | ad0aa318c41652ae2c9a474134733f37331316e3 /gcc | |
parent | badeac77f55276d047b3cc202e4ddd49ba643d8a (diff) | |
download | gcc-e7a0af84d68f50b65dffa1af462d10bd4bf03939.zip gcc-e7a0af84d68f50b65dffa1af462d10bd4bf03939.tar.gz gcc-e7a0af84d68f50b65dffa1af462d10bd4bf03939.tar.bz2 |
libstdc++: Implement std::make_unique_for_overwrite
This is the std::unique_ptr part of P1020R1 (as amended by P1973R1) for
C++20. The std::shared_ptr part still needs to be done.
libstdc++-v3/ChangeLog:
* include/bits/unique_ptr.h (make_unique_for_overwrite): Define
for C++20.
* testsuite/20_util/unique_ptr/creation/array_neg.cc: Remove
unused header. Adjust standard reference.
* testsuite/20_util/unique_ptr/creation/for_overwrite.cc: New test.
* testsuite/20_util/unique_ptr/creation/for_overwrite__neg.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions