llvm-project/libcxx/test/strings/basic.string/string.capacity
Marshall Clow e427322327 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
llvm-svn: 194151
2013-11-06 14:24:38 +00:00
..
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. 2013-06-28 16:59:19 +00:00
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. 2013-06-28 16:59:19 +00:00
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. 2013-06-28 16:59:19 +00:00
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. 2013-06-28 16:59:19 +00:00
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 2013-11-06 14:24:38 +00:00
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. 2013-06-28 16:59:19 +00:00
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. 2013-06-28 16:59:19 +00:00
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. 2013-06-28 16:59:19 +00:00
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. 2013-06-28 16:59:19 +00:00
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. 2013-06-28 16:59:19 +00:00