Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 952 Bytes

File metadata and controls

36 lines (27 loc) · 952 Bytes

operator=

  • memory[meta header]
  • std[meta namespace]
  • enable_shared_from_this[meta class]
  • function[meta id-type]
  • cpp11[meta cpp]
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 [mark verified]
  • Clang: 3.0 [mark verified]
  • ICC: ?
  • Visual C++: 2008 (TR1) [mark verified], 2010 [mark verified], 2012 [mark verified], 2013 [mark verified]

参照