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
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
..
string.access Rename _LIBCPP_DEBUG2 to _LIBCPP_DEBUG. 12 years ago
string.capacity 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
string.cons 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
string.iterators Rename _LIBCPP_DEBUG2 to _LIBCPP_DEBUG. 12 years ago
string.modifiers Rename _LIBCPP_DEBUG2 to _LIBCPP_DEBUG. 12 years ago
string.nonmembers 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
string.ops 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
string.require license change 15 years ago
input_iterator.h Fixing whitespace problems 15 years ago
min_allocator.h 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
test_allocator.h This is a start at making the libc++ test suite friendlier to the -fnoexceptions flag. Although this is not a complete solution, it does reduce the number of test failures on OS X from 467 to 128 on OS X when -fno-exceptions is enabled, and does not impact the number of failures at all when -fno-exceptions is not enabled. The bulk of this code was donated anonymously. 13 years ago
test_traits.h Fixing whitespace problems 15 years ago
types.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