llvm-project/libcxx/test/std/strings/basic.string
Marshall Clow 76b4afc040 Fix PR#25973 : 'basic_string::assign(InputIt, InputIt) doesn't provide the strong exception safety guarantee'. This turned out to be a pervasive problem in <string>, which required a fair amount of rework. Add in an optimization for when iterators provide noexcept increment/comparison/assignment/dereference (which covers many of the iterators in libc++). Reviewed as http://reviews.llvm.org/D15862
llvm-svn: 257682
2016-01-13 21:54:34 +00:00
..
string.access Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
string.capacity Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
string.cons Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
string.iterators
string.modifiers Fix PR#25973 : 'basic_string::assign(InputIt, InputIt) doesn't provide the strong exception safety guarantee'. This turned out to be a pervasive problem in <string>, which required a fair amount of rework. Add in an optimization for when iterators provide noexcept increment/comparison/assignment/dereference (which covers many of the iterators in libc++). Reviewed as http://reviews.llvm.org/D15862 2016-01-13 21:54:34 +00:00
string.nonmembers Implement the first part of N4258: 'Cleaning up noexcept in the Library'. This patch deals with swapping containers, and implements a more strict noexcept specification (a conforming extension) than the standard mandates. 2015-07-13 20:04:56 +00:00
string.ops Make it possible to build a no-exceptions variant of libcxx. 2015-11-10 11:41:22 +00:00
string.require Add tests to ensure that string/vector/array have contiguous iterators - which they did. Mark N4284 as complete 2015-05-26 18:57:27 +00:00
allocator_mismatch.fail.cpp Add static_assert to set/multiset/map/multimap/forward_list/deque that the allocator's value_type match the container's value_type. vector/unordered/list/string already do this. Add tests for all the containers to verify this. 2015-11-26 01:24:04 +00:00
input_iterator.h
test_traits.h
types.pass.cpp