gcc/libstdc++-v3/include/bits
Jonathan Wakely a922c5ff6f Optimize truncating a basic_string
* include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI]
	(basic_string::erase(size_type, size_type)): Add fast path for
	truncating the string, by calling _M_set_length directly.
	(basic_string::erase(__const_iterator, __const_iterator)): Likewise.
	* include/bits/basic_string.tcc [_GLIBCXX_USE_CXX11_ABI]
	(basic_string::resize(size_type, _CharT)): Likewise.

From-SVN: r240446
2016-09-23 18:25:23 +01:00
..
algorithmfwd.h Remove trailing whitespace in C++ headers 2016-08-24 09:03:01 +01:00
alloc_traits.h allocator_traits<allocator<T>> partial specialization 2016-01-11 16:47:58 +00:00
allocated_ptr.h Make __allocated_ptr::_S_raw_ptr static 2016-07-13 18:22:47 +01:00
allocator.h Define C++17 feature-test macros 2016-08-03 19:11:10 +01:00
atomic_base.h
atomic_futex.h
basic_ios.h
basic_ios.tcc libstdc++/70766 use std::addressof instead of operator& 2016-04-28 13:33:07 +01:00
basic_string.h Optimize truncating a basic_string 2016-09-23 18:25:23 +01:00
basic_string.tcc Optimize truncating a basic_string 2016-09-23 18:25:23 +01:00
boost_concept_check.h
c++0x_warning.h
c++14_warning.h c++14_warning.h: Do not refer C++14 as experimental. 2016-04-19 16:29:05 +00:00
c++17_warning.h Add a new header for diagnosing the use of C++17 facilities in pre-C++17 modes. 2016-07-06 21:07:57 +03:00
c++config Add constexpr to <iterator> and <array> for C++17 2016-08-23 11:13:12 +01:00
char_traits.h
codecvt.h
concept_check.h Makefile.am (install-freestanding-headers): Add concept_check.h and move.h to the installed headers. 2016-03-23 00:41:52 +00:00
cpp_type_traits.h libstdc++/69406 Fix test to check for supported headers 2016-01-21 13:33:27 +00:00
deque.tcc 2016-06-15 François Dumont <fdumont@gcc.gnu.org> 2016-06-15 20:09:56 +00:00
enable_special_members.h Implement <variant> 2016-08-18 20:31:26 +00:00
forward_list.h Improve doxygen comments for allocators in containers 2016-07-14 11:02:10 +01:00
forward_list.tcc
fstream.tcc
functexcept.h
functional_hash.h
gslice_array.h
gslice.h
hashtable_policy.h Remove _GLIBCXX14_USE_CONSTEXPR 2016-05-25 10:36:28 +01:00
hashtable.h Implement C++17 node extraction and insertion (P0083R5) 2016-09-22 14:58:49 +01:00
indirect_array.h
invoke.h Add std::apply for C++17 2016-08-06 01:06:02 +01:00
ios_base.h
istream.tcc
list.tcc
locale_classes.h
locale_classes.tcc
locale_conv.h
locale_facets_nonio.h
locale_facets_nonio.tcc
locale_facets.h Add attribute((unused)) in libstdc++ headers 2016-04-18 16:44:12 +01:00
locale_facets.tcc
localefwd.h
mask_array.h
memoryfwd.h
move.h Replace references to C++0x with C++11 in comments 2016-07-15 21:23:08 +01:00
node_handle.h Implement C++17 node extraction and insertion (P0083R5) 2016-09-22 14:58:49 +01:00
ostream_insert.h
ostream.tcc
parse_numbers.h
postypes.h Replace references to C++0x with C++11 in comments 2016-07-15 21:23:08 +01:00
predefined_ops.h
ptr_traits.h
quoted_string.h
random.h PR libstdc++/41759 reword static assertions in <random> 2016-04-18 19:03:50 +01:00
random.tcc PR libstdc++/41759 reword static assertions in <random> 2016-04-18 19:03:50 +01:00
range_access.h Add constexpr to <iterator> and <array> for C++17 2016-08-23 11:13:12 +01:00
regex_automaton.h Add attribute((unused)) in libstdc++ headers 2016-04-18 16:44:12 +01:00
regex_automaton.tcc
regex_compiler.h
regex_compiler.tcc re PR libstdc++/77356 (regex error for a ECMAScript syntax string) 2016-08-27 02:03:23 +00:00
regex_constants.h
regex_error.h
regex_executor.h Split _M_dfs() into smaller functions. 2016-08-22 19:50:15 +00:00
regex_executor.tcc Split _M_dfs() into smaller functions. 2016-08-22 19:50:15 +00:00
regex_scanner.h re PR libstdc++/77356 (regex error for a ECMAScript syntax string) 2016-08-27 02:03:23 +00:00
regex_scanner.tcc re PR libstdc++/77356 (regex error for a ECMAScript syntax string) 2016-08-27 02:03:23 +00:00
regex.h
regex.tcc
shared_ptr_atomic.h
shared_ptr_base.h Constrain std::shared_ptr assignment and resetting 2016-08-31 17:57:20 +01:00
shared_ptr.h Constrain std::shared_ptr assignment and resetting 2016-08-31 17:57:20 +01:00
slice_array.h
specfun.h Enable Mathematical Special Functions for C++17 2016-08-03 16:54:13 +01:00
sstream.tcc
std_mutex.h * include/bits/std_mutex.h: Fix Doxygen @file name. 2016-01-15 12:37:15 +00:00
stl_algo.h Remove redundant std::move in std::for_each 2016-07-15 20:51:33 +01:00
stl_algobase.h libstdc++/71545 fix debug checks in binary search algorithms 2016-06-17 19:28:34 +01:00
stl_bvector.h PR 72847 Prevent double-free in std::vector<bool> 2016-08-16 12:33:16 +01:00
stl_construct.h re PR libstdc++/77619 (uninitialized_meow_construct and friends not exception safe) 2016-09-20 18:15:36 +03:00
stl_deque.h Improve doxygen comments for allocators in containers 2016-07-14 11:02:10 +01:00
stl_function.h Define std::owner_less<void> specialization (P0074R0) 2016-08-03 19:11:18 +01:00
stl_heap.h
stl_iterator_base_funcs.h Add constexpr to <iterator> and <array> for C++17 2016-08-23 11:13:12 +01:00
stl_iterator_base_types.h
stl_iterator.h Implement resolution of LWG DR 685 precisely 2016-08-23 11:13:26 +01:00
stl_list.h Improve doxygen comments for allocators in containers 2016-07-14 11:02:10 +01:00
stl_map.h Implement C++17 node extraction and insertion (P0083R5) 2016-09-22 14:58:49 +01:00
stl_multimap.h Implement C++17 node extraction and insertion (P0083R5) 2016-09-22 14:58:49 +01:00
stl_multiset.h Implement C++17 node extraction and insertion (P0083R5) 2016-09-22 14:58:49 +01:00
stl_numeric.h
stl_pair.h re PR libstdc++/77537 (pair constructors do not properly SFINAE) 2016-09-21 19:48:35 +03:00
stl_queue.h Provide swappable traits (p0185r1) 2016-06-16 16:07:19 +01:00
stl_raw_storage_iter.h libstdc++/51960 move-construction for raw_storage_iterator 2016-08-26 14:11:29 +01:00
stl_relops.h
stl_set.h Implement C++17 node extraction and insertion (P0083R5) 2016-09-22 14:58:49 +01:00
stl_stack.h Provide swappable traits (p0185r1) 2016-06-16 16:07:19 +01:00
stl_tempbuf.h
stl_tree.h Implement C++17 node extraction and insertion (P0083R5) 2016-09-22 14:58:49 +01:00
stl_uninitialized.h re PR libstdc++/77619 (uninitialized_meow_construct and friends not exception safe) 2016-09-20 18:15:36 +03:00
stl_vector.h Improve doxygen comments for allocators in containers 2016-07-14 11:02:10 +01:00
stream_iterator.h libstdc++/70766 use std::addressof instead of operator& 2016-04-28 13:33:07 +01:00
streambuf_iterator.h
streambuf.tcc
string_view.tcc Implement std::string_view and P0254r2, 2016-07-28 18:15:26 +03:00
stringfwd.h
uniform_int_dist.h PR libstdc++/41759 reword static assertions in <random> 2016-04-18 19:03:50 +01:00
unique_ptr.h Provide swappable traits (p0185r1) 2016-06-16 16:07:19 +01:00
unordered_map.h Implement C++17 node extraction and insertion (P0083R5) 2016-09-22 14:58:49 +01:00
unordered_set.h Implement C++17 node extraction and insertion (P0083R5) 2016-09-22 14:58:49 +01:00
uses_allocator.h Always qualify std::forward in <variant> 2016-09-22 10:56:54 +01:00
valarray_after.h
valarray_array.h
valarray_array.tcc
valarray_before.h Constrain std::valarray functions and operators 2016-01-22 21:15:41 +00:00
vector.tcc PR 72847 Prevent double-free in std::vector<bool> 2016-08-16 12:33:16 +01:00