Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::locale::id::id

      From cppreference.com
      <cpp‎ |locale‎ |locale‎ |id
       
       
       
      Localization library
       
       
      Defined in header<locale>
      id();
      (1)
      id(const id&)= delete;
      (2)
      1) Default constructor: creates an object of typestd::locale::id with implementation-specific content.
      2) Copy constructor is deleted;std::locale::id is not copyable.

      [edit]Notes

      Because locales and facets must be available for the IO stream objects with static storage duration, such asstd::cout, typical implementations let implicit default constructor zero-initialize the contents ofstd::locale::id during static initialization (before constructors run for static objects), and when a facet is added to any locale for the first time, the locale completes initialization of the facet'sid.

      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/locale/locale/id/id&oldid=160140"

      [8]ページ先頭

      ©2009-2025 Movatter.jp