You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/strings/basic.string/string.capacity
Marshall Clow ecc8d7b334 Fix an off-by-one error in basic_string::__grow_by, where it would incorrectly throw length_error (instead of bad_alloc) when attempting to resize the string to 'max_size()'. Add tests for resizing to max_size +/-1
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@194151 91177308-0d34-0410-b5e6-96231b3b80d8
12 years ago
..
capacity.pass.cpp Implement full support for non-pointer pointers in custom allocators for string. This completes the custom pointer support for the entire library. 13 years ago
clear.pass.cpp Implement full support for non-pointer pointers in custom allocators for string. This completes the custom pointer support for the entire library. 13 years ago
empty.pass.cpp Implement full support for non-pointer pointers in custom allocators for string. This completes the custom pointer support for the entire library. 13 years ago
length.pass.cpp Implement full support for non-pointer pointers in custom allocators for string. This completes the custom pointer support for the entire library. 13 years ago
max_size.pass.cpp Fix an off-by-one error in basic_string::__grow_by, where it would incorrectly throw length_error (instead of bad_alloc) when attempting to resize the string to 'max_size()'. Add tests for resizing to max_size +/-1 12 years ago
reserve.pass.cpp Implement full support for non-pointer pointers in custom allocators for string. This completes the custom pointer support for the entire library. 13 years ago
resize_size.pass.cpp Implement full support for non-pointer pointers in custom allocators for string. This completes the custom pointer support for the entire library. 13 years ago
resize_size_char.pass.cpp Implement full support for non-pointer pointers in custom allocators for string. This completes the custom pointer support for the entire library. 13 years ago
shrink_to_fit.pass.cpp Implement full support for non-pointer pointers in custom allocators for string. This completes the custom pointer support for the entire library. 13 years ago
size.pass.cpp Implement full support for non-pointer pointers in custom allocators for string. This completes the custom pointer support for the entire library. 13 years ago