Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::basic_streambuf<CharT,Traits>::pubimbue,std::basic_streambuf<CharT,Traits>::imbue

      From cppreference.com
      <cpp‎ |io‎ |basic streambuf
       
       
       
      std::basic_streambuf
       
      std::locale pubimbue(conststd::locale& loc);
      (1)
      protected:
      virtualvoid imbue(conststd::locale& loc);
      (2)

      Changes the associated locale.

      1) Setsloc as the associated locale. Callsimbue(loc) of the most derived class
      2) The base class version of this function has no effect. The derived classes may override this function in order to be informed about the changes of the locale. The derived class may cache the locale and member facets between calls toimbue().

      Contents

      [edit]Parameters

      loc - locale object to associate

      [edit]Return value

      1) Previous associated locale.
      2) (none)

      [edit]Notes

      From within the call ofimbue(),getloc() returns the previous locale.

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      obtains a copy of the associated locale
      (public member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/io/basic_streambuf/pubimbue&oldid=179491"

      [8]ページ先頭

      ©2009-2025 Movatter.jp