summaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/src/string.cpp
diff options
context:
space:
mode:
authorAndrey Khalyavin <[email protected]>2022-05-26 20:37:34 +0300
committerAndrey Khalyavin <[email protected]>2022-05-26 20:37:34 +0300
commita983ee268a191f2757454e98e94d36615ee1339b (patch)
tree055e74fe7ae499ccc794ebd2b7bdef9004414850 /contrib/libs/cxxsupp/libcxx/src/string.cpp
parenta5bc0482bae2efd3f9a770e96967a317b5c26632 (diff)
Update libc++ to revision ab0554b2 (31 Jan 2022).
Notable changes: * allow using thread safety annotation in MinGW mode * implement compare_{strong,weak,partial}_fallback * omit atomic_{,un}signed_lock_free on platforms that doesn't support lock free atomics * set enable_borrowed_range template variable for ref_view and empty_view * fix bug in reverse_iterator::operator= * move some function from directory_iterator.cpp to a header so that they can be reused * fix bug in ranges::advance when try to advance by 0 * fix missing constraint which affects common_iterator for output iterators * correctly handle move-only iterators in move_iterator * make base() method in counted_iterator and transform_view::iterator noexcept * remove C++03 workarounds in reference_wrapper, since clang supports necessary features in C++03 mode * simplify convertible_to concept implementation * fix issue with __convertible_to_non_slicing rejecting correct case * remove excessive wrapping in std::ref and std::cref * fix std::seed_seq constructors * remove std::basic_string base class when using ABI v2 * std::basic_string::reserve now never shrinks in all C++ modes ref:b62ec6bac0283b075dd2348bad7e8a271155b378
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/src/string.cpp')
-rw-r--r--contrib/libs/cxxsupp/libcxx/src/string.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/src/string.cpp b/contrib/libs/cxxsupp/libcxx/src/string.cpp
index 608dcb2c586..3c63f408240 100644
--- a/contrib/libs/cxxsupp/libcxx/src/string.cpp
+++ b/contrib/libs/cxxsupp/libcxx/src/string.cpp
@@ -21,6 +21,7 @@
_LIBCPP_BEGIN_NAMESPACE_STD
+#ifndef _LIBCPP_ABI_NO_BASIC_STRING_BASE_CLASS
void __basic_string_common<true>::__throw_length_error() const {
_VSTD::__throw_length_error("basic_string");
}
@@ -28,6 +29,7 @@ void __basic_string_common<true>::__throw_length_error() const {
void __basic_string_common<true>::__throw_out_of_range() const {
_VSTD::__throw_out_of_range("basic_string");
}
+#endif
#define _LIBCPP_EXTERN_TEMPLATE_DEFINE(...) template __VA_ARGS__;
#ifdef _LIBCPP_ABI_STRING_OPTIMIZED_EXTERNAL_INSTANTIATION