Lines Matching refs:__rhs

3532            const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3535 return __lhs_sz == __rhs.size() && _Traits::compare(__lhs.data(),
3536 __rhs.data(),
3544 const basic_string<char, char_traits<char>, _Allocator>& __rhs) _NOEXCEPT
3547 if (__lhs_sz != __rhs.size())
3550 const char* __rp = __rhs.data();
3563 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3568 if (__lhs_len != __rhs.size()) return false;
3569 return __rhs.compare(0, _String::npos, __lhs, __lhs_len) == 0;
3576 const _CharT* __rhs) _NOEXCEPT
3579 _LIBCPP_ASSERT(__rhs != nullptr, "operator==(basic_string, char*): received nullptr");
3580 size_t __rhs_len = _Traits::length(__rhs);
3582 return __lhs.compare(0, _String::npos, __rhs, __rhs_len) == 0;
3589 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3591 return !(__lhs == __rhs);
3598 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3600 return !(__lhs == __rhs);
3607 const _CharT* __rhs) _NOEXCEPT
3609 return !(__lhs == __rhs);
3618 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3620 return __lhs.compare(__rhs) < 0;
3627 const _CharT* __rhs) _NOEXCEPT
3629 return __lhs.compare(__rhs) < 0;
3636 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3638 return __rhs.compare(__lhs) > 0;
3647 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3649 return __rhs < __lhs;
3656 const _CharT* __rhs) _NOEXCEPT
3658 return __rhs < __lhs;
3665 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3667 return __rhs < __lhs;
3676 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3678 return !(__rhs < __lhs);
3685 const _CharT* __rhs) _NOEXCEPT
3687 return !(__rhs < __lhs);
3694 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3696 return !(__rhs < __lhs);
3705 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3707 return !(__lhs < __rhs);
3714 const _CharT* __rhs) _NOEXCEPT
3716 return !(__lhs < __rhs);
3723 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3725 return !(__lhs < __rhs);
3733 const basic_string<_CharT, _Traits, _Allocator>& __rhs)
3737 typename basic_string<_CharT, _Traits, _Allocator>::size_type __rhs_sz = __rhs.size();
3739 __r.append(__rhs.data(), __rhs_sz);
3745 operator+(const _CharT* __lhs , const basic_string<_CharT,_Traits,_Allocator>& __rhs)
3747 basic_string<_CharT, _Traits, _Allocator> __r(__rhs.get_allocator());
3749 typename basic_string<_CharT, _Traits, _Allocator>::size_type __rhs_sz = __rhs.size();
3751 __r.append(__rhs.data(), __rhs_sz);
3757 operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Allocator>& __rhs)
3759 basic_string<_CharT, _Traits, _Allocator> __r(__rhs.get_allocator());
3760 typename basic_string<_CharT, _Traits, _Allocator>::size_type __rhs_sz = __rhs.size();
3762 __r.append(__rhs.data(), __rhs_sz);
3768 operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, const _CharT* __rhs)
3772 typename basic_string<_CharT, _Traits, _Allocator>::size_type __rhs_sz = _Traits::length(__rhs);
3774 __r.append(__rhs, __rhs_sz);
3780 operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, _CharT __rhs)
3785 __r.push_back(__rhs);
3794 …tring<_CharT, _Traits, _Allocator>&& __lhs, const basic_string<_CharT, _Traits, _Allocator>& __rhs)
3796 return _VSTD::move(__lhs.append(__rhs));
3802 …asic_string<_CharT, _Traits, _Allocator>& __lhs, basic_string<_CharT, _Traits, _Allocator>&& __rhs)
3804 return _VSTD::move(__rhs.insert(0, __lhs));
3810 …sic_string<_CharT, _Traits, _Allocator>&& __lhs, basic_string<_CharT, _Traits, _Allocator>&& __rhs)
3812 return _VSTD::move(__lhs.append(__rhs));
3818 operator+(const _CharT* __lhs , basic_string<_CharT,_Traits,_Allocator>&& __rhs)
3820 return _VSTD::move(__rhs.insert(0, __lhs));
3826 operator+(_CharT __lhs, basic_string<_CharT,_Traits,_Allocator>&& __rhs)
3828 __rhs.insert(__rhs.begin(), __lhs);
3829 return _VSTD::move(__rhs);
3835 operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, const _CharT* __rhs)
3837 return _VSTD::move(__lhs.append(__rhs));
3843 operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, _CharT __rhs)
3845 __lhs.push_back(__rhs);
3857 basic_string<_CharT, _Traits, _Allocator>& __rhs)
3858 _NOEXCEPT_(_NOEXCEPT_(__lhs.swap(__rhs)))
3860 __lhs.swap(__rhs);