Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::ios_base::operator=

      From cppreference.com
      <cpp‎ |io‎ |ios base
       
       
       
       
      private:
      ios_base& operator=(const ios_base&);
      (until C++11)
      public:
      ios_base& operator=(const ios_base&)= delete;
      (since C++11)

      The copy assignment operator isprivate(until C++11)deleted(since C++11): streams are not copy-assignable.

      [edit]Defect reports

      The following behavior-changing defect reports were applied retroactively to previously published C++ standards.

      DRApplied toBehavior as publishedCorrect behavior
      LWG 50C++98the copy assignment operator was not specifiedspecified as private
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/io/ios_base/operator%3D&oldid=141948"

      [8]ページ先頭

      ©2009-2025 Movatter.jp