Logo
Explore Help
Sign In
opencode.siil.arti.ee/llvm-tms34010
Watch 1
Star 0 Fork 0
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
db9425cb060bd076fcdcbb5a37bfd992deff2086
llvm-tms34010/libcxx/test/std/strings/basic.string/string.capacity
T
History
Marek Kurdej 841132efda [libc++] [P0966] [C++20] Fix bug PR45368 by correctly implementing P0966: string::reserve should not shrink.
This patch fixes the implementation as well as the tests that didn't actually test the wanted behaviour.
You'll find all the details in the bug report.
It adds as well deprecation warning for reserve() (without argument) and adds a test.

http://wg21.link/P0966R1
https://bugs.llvm.org/show_bug.cgi?id=45368
https://reviews.llvm.org/D54992

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D91778
2020-11-26 10:13:12 +01:00
..
capacity.pass.cpp
…
clear.pass.cpp
…
empty.pass.cpp
…
empty.verify.cpp
…
length.pass.cpp
…
max_size.pass.cpp
…
over_max_size.pass.cpp
…
reserve_size.pass.cpp
[libc++] [P0966] [C++20] Fix bug PR45368 by correctly implementing P0966: string::reserve should not shrink.
2020-11-26 10:13:12 +01:00
reserve.deprecated_in_cxx20.verify.cpp
[libc++] [P0966] [C++20] Fix bug PR45368 by correctly implementing P0966: string::reserve should not shrink.
2020-11-26 10:13:12 +01:00
reserve.pass.cpp
[libc++] [P0966] [C++20] Fix bug PR45368 by correctly implementing P0966: string::reserve should not shrink.
2020-11-26 10:13:12 +01:00
resize_size_char.pass.cpp
…
resize_size.pass.cpp
…
shrink_to_fit.pass.cpp
…
size.pass.cpp
…
Powered by Gitea Version: 28.3.0 Page: 1031ms Template: 6ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API