• Home
  • Raw
  • Download

Lines Matching refs:__rhs

774   static void __generic_construct(__constructor& __lhs, _Rhs&& __rhs) {
776 if (!__rhs.valueless_by_exception()) {
778 __rhs.index(),
784 __lhs, _VSTD::forward<_Rhs>(__rhs));
785 __lhs.__index = __rhs.index();
1042 __impl* __rhs = _VSTD::addressof(__that);
1043 if (__lhs->__move_nothrow() && !__rhs->__move_nothrow()) {
1044 _VSTD::swap(__lhs, __rhs);
1046 __impl __tmp(_VSTD::move(*__rhs));
1048 // EXTENSION: When the move construction of `__lhs` into `__rhs` throws
1050 // into `__rhs` and provide the strong exception safety guarentee.
1052 this->__generic_construct(*__rhs, _VSTD::move(*__lhs));
1055 this->__generic_construct(*__rhs, _VSTD::move(__tmp));
1060 this->__generic_construct(*__rhs, _VSTD::move(*__lhs));
1425 const variant<_Types...>& __rhs) {
1427 if (__lhs.index() != __rhs.index()) return false;
1429 return __variant::__visit_value_at(__lhs.index(), equal_to<>{}, __lhs, __rhs);
1435 const variant<_Types...>& __rhs) {
1437 if (__lhs.index() != __rhs.index()) return true;
1440 __lhs.index(), not_equal_to<>{}, __lhs, __rhs);
1446 const variant<_Types...>& __rhs) {
1448 if (__rhs.valueless_by_exception()) return false;
1450 if (__lhs.index() < __rhs.index()) return true;
1451 if (__lhs.index() > __rhs.index()) return false;
1452 return __variant::__visit_value_at(__lhs.index(), less<>{}, __lhs, __rhs);
1458 const variant<_Types...>& __rhs) {
1461 if (__rhs.valueless_by_exception()) return true;
1462 if (__lhs.index() > __rhs.index()) return true;
1463 if (__lhs.index() < __rhs.index()) return false;
1464 return __variant::__visit_value_at(__lhs.index(), greater<>{}, __lhs, __rhs);
1470 const variant<_Types...>& __rhs) {
1473 if (__rhs.valueless_by_exception()) return false;
1474 if (__lhs.index() < __rhs.index()) return true;
1475 if (__lhs.index() > __rhs.index()) return false;
1477 __lhs.index(), less_equal<>{}, __lhs, __rhs);
1483 const variant<_Types...>& __rhs) {
1485 if (__rhs.valueless_by_exception()) return true;
1487 if (__lhs.index() > __rhs.index()) return true;
1488 if (__lhs.index() < __rhs.index()) return false;
1490 __lhs.index(), greater_equal<>{}, __lhs, __rhs);
1530 variant<_Types...>& __rhs) noexcept(noexcept(__lhs.swap(__rhs)))
1531 -> decltype(__lhs.swap(__rhs)) {
1532 __lhs.swap(__rhs);