Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::locale::operator=

      From cppreference.com
      <cpp‎ |locale‎ |locale
       
       
       
      Localization library
       
       
      const locale& operator=(const locale& other)throw();
      (until C++11)
      const locale& operator=(const locale& other)noexcept;
      (since C++11)

      Creates a copy ofother, replacing the contents of*this. The reference counts of all facets held byother are incremented. The reference counts of all facets previously held by*this are decremented, and those facets whose reference count becomes zero are deleted.

      [edit]Return value

      Returns*this, which is now a copy ofother.

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      constructs a new locale
      (public member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/locale/locale/operator%3D&oldid=177153"

      [8]ページ先頭

      ©2009-2025 Movatter.jp