Lines Matching refs:__rhs
233 any & operator=(any const & __rhs) {
234 any(__rhs).swap(*this);
239 any & operator=(any && __rhs) _NOEXCEPT {
240 any(_VSTD::move(__rhs)).swap(*this);
252 any & operator=(_ValueType && __rhs);
277 void swap(any & __rhs) _NOEXCEPT;
535 void any::swap(any & __rhs) _NOEXCEPT
537 if (this == &__rhs)
539 if (__h && __rhs.__h) {
541 __rhs.__call(_Action::_Move, &__tmp);
542 this->__call(_Action::_Move, &__rhs);
546 this->__call(_Action::_Move, &__rhs);
548 else if (__rhs.__h) {
549 __rhs.__call(_Action::_Move, this);
556 void swap(any & __lhs, any & __rhs) _NOEXCEPT
558 __lhs.swap(__rhs);