gcc/libstdc++-v3/include/bits
Jonathan Wakely 64f5d58d81 libstdc++: Only include <ext/atomicity.h> for COW string
Since the COW std::string was moved to its own header, we don't need the
atomic dispatch helpers in the definition of std::__cxx11::string. Move
the inclusion of the <ext/atomicity.h> header to <bits/cow_string.h>
where it's needed.

libstdc++-v3/ChangeLog:

	* include/bits/basic_string.h: Do not include <ext/atomicity.h>
	here.
	* include/bits/cow_string.h: Include it here.

(cherry picked from commit f3e22baec0)
2022-06-08 10:52:16 +01:00
..
algorithmfwd.h Update copyright years. 2022-01-03 10:42:10 +01:00
align.h Update copyright years. 2022-01-03 10:42:10 +01:00
alloc_traits.h libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
allocated_ptr.h Update copyright years. 2022-01-03 10:42:10 +01:00
allocator.h libstdc++: Add suggestion to std::uncaught_exception() warning 2022-02-04 15:26:59 +00:00
atomic_base.h libstdc++: Make atomic notify_one and notify_all non-const 2022-04-22 15:53:41 -07:00
atomic_futex.h Update copyright years. 2022-01-03 10:42:10 +01:00
atomic_timed_wait.h Update copyright years. 2022-01-03 10:42:10 +01:00
atomic_wait.h libstdc++: Strengthen memory order for atomic<T>::wait/notify 2022-02-10 10:14:36 -08:00
basic_ios.h Update copyright years. 2022-01-03 10:42:10 +01:00
basic_ios.tcc Update copyright years. 2022-01-03 10:42:10 +01:00
basic_string.h libstdc++: Only include <ext/atomicity.h> for COW string 2022-06-08 10:52:16 +01:00
basic_string.tcc Update copyright years. 2022-01-03 10:42:10 +01:00
boost_concept_check.h libstdc++: Fix link failure in _OutputIteratorConcept 2022-02-02 16:30:51 +00:00
c++0x_warning.h Update copyright years. 2022-01-03 10:42:10 +01:00
c++config libstdc++: Use visibility pragmas instead of attributes [PR104807] 2022-03-07 15:10:29 +00:00
char_traits.h Update copyright years. 2022-01-03 10:42:10 +01:00
charconv.h Update copyright years. 2022-01-03 10:42:10 +01:00
chrono.h libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
codecvt.h Update copyright years. 2022-01-03 10:42:10 +01:00
concept_check.h Update copyright years. 2022-01-03 10:42:10 +01:00
cow_string.h libstdc++: Only include <ext/atomicity.h> for COW string 2022-06-08 10:52:16 +01:00
cpp_type_traits.h Update copyright years. 2022-01-03 10:42:10 +01:00
deque.tcc libstdc++: Prevent -Wstringop-overread warning in std::deque [PR100516] 2022-01-27 23:31:03 +00:00
enable_special_members.h Update copyright years. 2022-01-03 10:42:10 +01:00
erase_if.h Update copyright years. 2022-01-03 10:42:10 +01:00
forward_list.h Update copyright years. 2022-01-03 10:42:10 +01:00
forward_list.tcc libstdc++: Add self-merge check to std::forward_list::merge [PR103853] 2022-01-06 14:56:48 +00:00
fs_dir.h libstdc++: Fix filesystem::remove_all races [PR104161] 2022-02-04 19:51:26 +00:00
fs_fwd.h libstdc++: Fix filesystem::remove_all races [PR104161] 2022-02-04 19:51:26 +00:00
fs_ops.h libstdc++: Fix filenames in Doxygen @file comments 2022-04-01 11:34:43 +01:00
fs_path.h libstdc++: Define std::hash<std::filesystem::path> (LWG 3657) 2022-04-26 13:22:18 +01:00
fstream.tcc Update copyright years. 2022-01-03 10:42:10 +01:00
functexcept.h Update copyright years. 2022-01-03 10:42:10 +01:00
functional_hash.h Update copyright years. 2022-01-03 10:42:10 +01:00
gslice_array.h Update copyright years. 2022-01-03 10:42:10 +01:00
gslice.h Update copyright years. 2022-01-03 10:42:10 +01:00
hashtable_policy.h libstdc++: Restore support for unordered_map<const T, ...> [PR104174] 2022-01-23 22:47:00 +00:00
hashtable.h libstdc++: Optimize operations on small size hashtable [PR 68303] 2022-01-05 21:46:52 +01:00
indirect_array.h Update copyright years. 2022-01-03 10:42:10 +01:00
invoke.h Update copyright years. 2022-01-03 10:42:10 +01:00
ios_base.h Update copyright years. 2022-01-03 10:42:10 +01:00
istream.tcc libstdc++: Avoid some more warnings [PR104019] 2022-01-25 21:05:16 +00:00
iterator_concepts.h Update copyright years. 2022-01-03 10:42:10 +01:00
list.tcc Update copyright years. 2022-01-03 10:42:10 +01:00
locale_classes.h Update copyright years. 2022-01-03 10:42:10 +01:00
locale_classes.tcc Update copyright years. 2022-01-03 10:42:10 +01:00
locale_conv.h Update copyright years. 2022-01-03 10:42:10 +01:00
locale_facets_nonio.h libstdc++: Add %j, %U, %w, %W time_get support, fix %y, %Y, %C, %p [PR77760] 2022-01-10 15:38:47 +01:00
locale_facets_nonio.tcc libstdc++: Work around clang misdesign in time_get<>::get [PR104990] 2022-03-21 11:02:04 +01:00
locale_facets.h Update copyright years. 2022-01-03 10:42:10 +01:00
locale_facets.tcc Update copyright years. 2022-01-03 10:42:10 +01:00
localefwd.h Update copyright years. 2022-01-03 10:42:10 +01:00
mask_array.h Update copyright years. 2022-01-03 10:42:10 +01:00
max_size_type.h Update copyright years. 2022-01-03 10:42:10 +01:00
memoryfwd.h Update copyright years. 2022-01-03 10:42:10 +01:00
mofunc_impl.h libstdc++: Fix typo in doxygen @headerfile command 2022-05-27 18:32:51 +01:00
move_only_function.h libstdc++: Implement std::move_only_function for C++23 (P0288R9) 2021-10-06 20:12:01 +01:00
move.h libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
new_allocator.h Update copyright years. 2022-01-03 10:42:10 +01:00
node_handle.h libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
ostream_insert.h Update copyright years. 2022-01-03 10:42:10 +01:00
ostream.tcc Update copyright years. 2022-01-03 10:42:10 +01:00
parse_numbers.h Update copyright years. 2022-01-03 10:42:10 +01:00
postypes.h Update copyright years. 2022-01-03 10:42:10 +01:00
predefined_ops.h Update copyright years. 2022-01-03 10:42:10 +01:00
ptr_traits.h libstdc++: Implement constexpr std::unique_ptr for C++23 (P2273R3) 2022-04-25 16:16:33 +01:00
quoted_string.h Update copyright years. 2022-01-03 10:42:10 +01:00
random.h Update copyright years. 2022-01-03 10:42:10 +01:00
random.tcc libstdc++: Fix deserialization for std::normal_distribution [PR105502] 2022-05-06 23:57:44 +01:00
range_access.h libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
ranges_algo.h libstdc++: Avoid double-deref of __first in ranges::minmax [PR104858] 2022-04-15 14:41:14 -04:00
ranges_algobase.h Update copyright years. 2022-01-03 10:42:10 +01:00
ranges_base.h libstdc++: Implement P2415R2 changes to viewable_range / views::all 2022-02-22 09:37:58 -05:00
ranges_cmp.h libstdc++: Implement P2415R2 changes to viewable_range / views::all 2022-02-22 09:37:58 -05:00
ranges_uninitialized.h Update copyright years. 2022-01-03 10:42:10 +01:00
ranges_util.h Update copyright years. 2022-01-03 10:42:10 +01:00
refwrap.h libstdc++: Add attribute to features deprecated in C++17 [PR91260] 2022-01-14 11:27:50 +00:00
regex_automaton.h Update copyright years. 2022-01-03 10:42:10 +01:00
regex_automaton.tcc Update copyright years. 2022-01-03 10:42:10 +01:00
regex_compiler.h libstdc++: Fix -Wmaybe-uninitialized false positive [PR103984] 2022-03-01 15:25:39 +00:00
regex_compiler.tcc libstdc++: Improve std::regex_error::what() strings 2022-01-05 13:47:00 +00:00
regex_constants.h Update copyright years. 2022-01-03 10:42:10 +01:00
regex_error.h libstdc++: Improve std::regex_error::what() strings 2022-01-05 13:47:00 +00:00
regex_executor.h Update copyright years. 2022-01-03 10:42:10 +01:00
regex_executor.tcc libstdc++: Reduce template instantiations in <regex> 2022-01-05 13:47:01 +00:00
regex_scanner.h Update copyright years. 2022-01-03 10:42:10 +01:00
regex_scanner.tcc libstdc++: Improve std::regex_error::what() strings 2022-01-05 13:47:00 +00:00
regex.h libstdc++: Adjust friend declarations to work with Clang 2022-01-06 14:56:48 +00:00
regex.tcc libstdc++: Reduce template instantiations in <regex> 2022-01-05 13:47:01 +00:00
semaphore_base.h Update copyright years. 2022-01-03 10:42:10 +01:00
shared_ptr_atomic.h libstdc++: Add std::atomic<shared_ptr>(nullptr_t) constructor (LWG 3661) 2022-04-26 13:22:18 +01:00
shared_ptr_base.h libstdc++: Avoid some more warnings [PR104019] 2022-01-25 21:05:16 +00:00
shared_ptr.h libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
slice_array.h Update copyright years. 2022-01-03 10:42:10 +01:00
specfun.h Update copyright years. 2022-01-03 10:42:10 +01:00
sstream.tcc Update copyright years. 2022-01-03 10:42:10 +01:00
std_abs.h Update copyright years. 2022-01-03 10:42:10 +01:00
std_function.h Update copyright years. 2022-01-03 10:42:10 +01:00
std_mutex.h Update copyright years. 2022-01-03 10:42:10 +01:00
std_thread.h Update copyright years. 2022-01-03 10:42:10 +01:00
stl_algo.h libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
stl_algobase.h libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
stl_bvector.h libstdc++: Deprecate non-standard std::vector<bool>::insert(pos) [PR104559] 2022-02-17 23:44:25 +00:00
stl_construct.h libstdc++: Ignore cv-quals when std::allocator<void> constructs 2022-01-14 10:14:25 +00:00
stl_deque.h libstdc++: Avoid -Wzero-as-null-pointer-constant warning [PR103848] 2022-01-05 13:47:02 +00:00
stl_function.h libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
stl_heap.h Update copyright years. 2022-01-03 10:42:10 +01:00
stl_iterator_base_funcs.h Update copyright years. 2022-01-03 10:42:10 +01:00
stl_iterator_base_types.h libstdc++: Add attribute to features deprecated in C++17 [PR91260] 2022-01-14 11:27:50 +00:00
stl_iterator.h libstdc++: Add constexpr to std::counted_iterator post-increment (LWG 3643) 2022-05-27 18:32:52 +01:00
stl_list.h Update copyright years. 2022-01-03 10:42:10 +01:00
stl_map.h libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
stl_multimap.h libstdc++: Add attribute to features deprecated in C++17 [PR91260] 2022-01-14 11:27:50 +00:00
stl_multiset.h Update copyright years. 2022-01-03 10:42:10 +01:00
stl_numeric.h Update copyright years. 2022-01-03 10:42:10 +01:00
stl_pair.h libstdc++: Remove unused std::pair helper function 2022-01-19 00:58:25 +00:00
stl_queue.h Update copyright years. 2022-01-03 10:42:10 +01:00
stl_raw_storage_iter.h libstdc++: Add attribute to features deprecated in C++17 [PR91260] 2022-01-14 11:27:50 +00:00
stl_relops.h Update copyright years. 2022-01-03 10:42:10 +01:00
stl_set.h Update copyright years. 2022-01-03 10:42:10 +01:00
stl_stack.h Update copyright years. 2022-01-03 10:42:10 +01:00
stl_tempbuf.h libstdc++: Fix deprecated attribute for std::get_temporary_buffer 2022-01-19 00:58:25 +00:00
stl_tree.h libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
stl_uninitialized.h Update copyright years. 2022-01-03 10:42:10 +01:00
stl_vector.h libstdc++: Fix missing and incorrect feature test macros [PR105269] 2022-04-14 11:02:37 +01:00
stream_iterator.h libstdc++: Add attribute to features deprecated in C++17 [PR91260] 2022-01-14 11:27:50 +00:00
streambuf_iterator.h libstdc++: Add attribute to features deprecated in C++17 [PR91260] 2022-01-14 11:27:50 +00:00
streambuf.tcc Update copyright years. 2022-01-03 10:42:10 +01:00
string_view.tcc Update copyright years. 2022-01-03 10:42:10 +01:00
stringfwd.h Update copyright years. 2022-01-03 10:42:10 +01:00
this_thread_sleep.h libstdc++: Move closing brace outside #endif [PR104866] 2022-03-10 21:04:01 +00:00
uniform_int_dist.h Update copyright years. 2022-01-03 10:42:10 +01:00
unique_lock.h Update copyright years. 2022-01-03 10:42:10 +01:00
unique_ptr.h libstdc++: Implement constexpr std::unique_ptr for C++23 (P2273R3) 2022-04-25 16:16:33 +01:00
unordered_map.h libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
unordered_set.h Update copyright years. 2022-01-03 10:42:10 +01:00
uses_allocator_args.h libstdc++: Remove incorrect copyright notice from header 2022-03-08 12:53:04 +00:00
uses_allocator.h Update copyright years. 2022-01-03 10:42:10 +01:00
utility.h Update copyright years. 2022-01-03 10:42:10 +01:00
valarray_after.h Update copyright years. 2022-01-03 10:42:10 +01:00
valarray_array.h Update copyright years. 2022-01-03 10:42:10 +01:00
valarray_array.tcc Update copyright years. 2022-01-03 10:42:10 +01:00
valarray_before.h Update copyright years. 2022-01-03 10:42:10 +01:00
vector.tcc Update copyright years. 2022-01-03 10:42:10 +01:00