Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::regex_traits<CharT>::imbue

      From cppreference.com
      <cpp‎ |regex‎ |regex traits
       
       
       
      Regular expressions library
      Classes
      (C++11)
      Algorithms
      Iterators
      Exceptions
      Traits
      Constants
      (C++11)
      Regex Grammar
       
       
      locale_type imbue( locale_type loc);
      (since C++11)

      Replaces the current locale with a copy ofloc. Ifloc is different than the current locale, then all cached data is invalidated.

      After the callgetloc()== loc.

      Contents

      [edit]Parameters

      loc - the locale to imbue

      [edit]Return value

      The current locale of the traits object.

      Ifimbue() has been never called for this object, then the global locale at the time of the call is returned. Otherwise, the locale passed to the last call toimbue() is returned.

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      gets the locale
      (public member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/regex/regex_traits/imbue&oldid=161048"

      [8]ページ先頭

      ©2009-2025 Movatter.jp