Fix an off-by-one error in basic_string::__grow_by, where it would incorrectly...
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
Loading
Please register or sign in to comment