gcc/libstdc++-v3/include/ext
Jonathan Wakely 1319041924 Avoid reallocation for basic_string::clear()
PR libstdc++/56166
	PR libstdc++/77582
	* include/bits/basic_string.h (basic_string::clear()): Drop reference
	and use empty rep.
	* include/ext/rc_string_base.h (__rc_string_base::_M_clear()):
	Likewise.
	* testsuite/21_strings/basic_string/56166.cc: New.
	* testsuite/ext/vstring/modifiers/clear/56166.cc: New.

From-SVN: r240447
2016-09-23 18:25:34 +01:00
..
pb_ds Replace references to C++0x with C++11 in comments 2016-07-15 21:23:08 +01:00
algorithm
aligned_buffer.h
alloc_traits.h
array_allocator.h
atomicity.h
bitmap_allocator.h
cast.h
cmath
codecvt_specializations.h
concurrence.h
debug_allocator.h
enc_filebuf.h
extptr_allocator.h
functional
iterator
malloc_allocator.h
memory
mt_allocator.h
new_allocator.h
numeric
numeric_traits.h
pod_char_traits.h
pointer.h
pool_allocator.h
random
random.tcc
rb_tree
rc_string_base.h Avoid reallocation for basic_string::clear() 2016-09-23 18:25:34 +01:00
rope
ropeimpl.h Fix missing qualification in <ext/rope> 2016-07-25 13:56:12 +01:00
slist
sso_string_base.h
stdio_filebuf.h
stdio_sync_filebuf.h
string_conversions.h Replace references to C++0x with C++11 in comments 2016-07-15 21:23:08 +01:00
throw_allocator.h
type_traits.h libstdc++/69406 Fix test to check for supported headers 2016-01-21 13:33:27 +00:00
typelist.h
vstring_fwd.h
vstring_util.h
vstring.h
vstring.tcc