From d799472c4d62fd86a6ebb10ae4f25edc6a05e7cd Mon Sep 17 00:00:00 2001 From: Hristo Hristov Date: Tue, 16 Jul 2024 21:00:50 +0300 Subject: [PATCH] Addressed comments --- libcxx/include/string | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libcxx/include/string b/libcxx/include/string index 2cc3cccc11c981..90394e9edbe83c 100644 --- a/libcxx/include/string +++ b/libcxx/include/string @@ -712,11 +712,19 @@ _LIBCPP_HIDE_FROM_ABI constexpr basic_string<_CharT, _Traits, _Allocator> operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, type_identity_t> __rhs); +template +_LIBCPP_HIDE_FROM_ABI constexpr basic_string<_CharT, _Traits, _Allocator> +operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, type_identity_t> __rhs); + template _LIBCPP_HIDE_FROM_ABI constexpr basic_string<_CharT, _Traits, _Allocator> operator+(type_identity_t> __lhs, const basic_string<_CharT, _Traits, _Allocator>& __rhs); +template +_LIBCPP_HIDE_FROM_ABI constexpr basic_string<_CharT, _Traits, _Allocator> +operator+(type_identity_t> __lhs, basic_string<_CharT, _Traits, _Allocator>&& __rhs); + #endif extern template _LIBCPP_EXPORTED_FROM_ABI string operator+