enable_shared_from_this&
operator=(const enable_shared_from_this&) noexcept; // (1) C++11
constexpr enable_shared_from_this&
operator=(const enable_shared_from_this&) noexcept; // (1) C++26
概要
何もしない。
保持するポインタ(thisを指すweak_ptr<T>)は変更されない。
戻り値
*this
バージョン
言語
- C++11
処理系
- GCC: 4.3.6 ✅
- Clang: 3.0 ✅
- ICC: ?
- Visual C++: 2008 (TR1) ✅, 2010 ✅, 2012 ✅, 2013 ✅