Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::codecvt_base

      From cppreference.com
      <cpp‎ |locale
       
       
       
      Localization library
       
      Defined in header<locale>
      class codecvt_base;

      The classstd::codecvt_base provides the conversion status constants which are inherited and used by thestd::codecvt facets.

      [edit]Member types

      Member type Definition
      enum result{ ok, partial, error, noconv}; Unscoped enumeration type
      Value Explanation
      ok conversion was completed with no error
      partial not all source characters were converted
      error encountered an invalid character
      noconv no conversion required, input and output types are the same

      [edit]Notes

      The valuestd::codecvt_base::partial is used to indicate that either the destination range is too short to receive the results of the conversion or the input is truncated in the middle of an otherwise valid multibyte character.

      [edit]See also

      converts between character encodings, including UTF-8, UTF-16, UTF-32
      (class template)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/locale/codecvt_base&oldid=58068"

      [8]ページ先頭

      ©2009-2025 Movatter.jp