Lines Matching refs:__rhs

1087     future(future&& __rhs) _NOEXCEPT
1088 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1092 future& operator=(future&& __rhs) _NOEXCEPT
1094 future(std::move(__rhs)).swap(*this);
1110 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1191 future(future&& __rhs) _NOEXCEPT
1192 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1196 future& operator=(future&& __rhs) _NOEXCEPT
1198 future(std::move(__rhs)).swap(*this);
1214 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1290 future(future&& __rhs) _NOEXCEPT
1291 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1295 future& operator=(future&& __rhs) _NOEXCEPT
1297 future(std::move(__rhs)).swap(*this);
1313 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1360 promise(promise&& __rhs) _NOEXCEPT
1361 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1362 promise(const promise& __rhs) = delete;
1365 promise(const promise& __rhs);
1373 promise& operator=(promise&& __rhs) _NOEXCEPT
1375 promise(std::move(__rhs)).swap(*this);
1378 promise& operator=(const promise& __rhs) = delete;
1381 promise& operator=(const promise& __rhs);
1385 void swap(promise& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1539 promise(promise&& __rhs) _NOEXCEPT
1540 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1541 promise(const promise& __rhs) = delete;
1544 promise(const promise& __rhs);
1552 promise& operator=(promise&& __rhs) _NOEXCEPT
1554 promise(std::move(__rhs)).swap(*this);
1557 promise& operator=(const promise& __rhs) = delete;
1560 promise& operator=(const promise& __rhs);
1564 void swap(promise& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1682 promise(promise&& __rhs) _NOEXCEPT
1683 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1684 promise(const promise& __rhs) = delete;
1687 promise(const promise& __rhs);
1695 promise& operator=(promise&& __rhs) _NOEXCEPT
1697 promise(std::move(__rhs)).swap(*this);
1700 promise& operator=(const promise& __rhs) = delete;
1703 promise& operator=(const promise& __rhs);
1707 void swap(promise& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
2386 shared_future(const shared_future& __rhs) : __state_(__rhs.__state_)
2393 shared_future(shared_future&& __rhs) _NOEXCEPT : __state_(__rhs.__state_)
2394 {__rhs.__state_ = nullptr;}
2397 shared_future& operator=(const shared_future& __rhs);
2400 shared_future& operator=(shared_future&& __rhs) _NOEXCEPT
2402 shared_future(std::move(__rhs)).swap(*this);
2412 void swap(shared_future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
2441 shared_future<_Rp>::operator=(const shared_future& __rhs)
2443 if (__rhs.__state_)
2444 __rhs.__state_->__add_shared();
2447 __state_ = __rhs.__state_;
2460 shared_future(const shared_future& __rhs) : __state_(__rhs.__state_)
2467 shared_future(shared_future&& __rhs) _NOEXCEPT : __state_(__rhs.__state_)
2468 {__rhs.__state_ = nullptr;}
2471 shared_future& operator=(const shared_future& __rhs);
2474 shared_future& operator=(shared_future&& __rhs) _NOEXCEPT
2476 shared_future(std::move(__rhs)).swap(*this);
2486 void swap(shared_future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
2515 shared_future<_Rp&>::operator=(const shared_future& __rhs)
2517 if (__rhs.__state_)
2518 __rhs.__state_->__add_shared();
2521 __state_ = __rhs.__state_;
2534 shared_future(const shared_future& __rhs) : __state_(__rhs.__state_)
2541 shared_future(shared_future&& __rhs) _NOEXCEPT : __state_(__rhs.__state_)
2542 {__rhs.__state_ = nullptr;}
2545 shared_future& operator=(const shared_future& __rhs);
2548 shared_future& operator=(shared_future&& __rhs) _NOEXCEPT
2550 shared_future(std::move(__rhs)).swap(*this);
2560 void swap(shared_future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}