Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::ctype<char>::ctype

      From cppreference.com
      <cpp‎ |locale‎ |ctype char
       
       
       
      Localization library
       
       
      Defined in header<locale>
      explicit ctype(const mask* tbl=0,bool del=false,std::size_t refs=0);

      Creates astd::ctype<char> facet and forwards the starting reference countrefs to the base class constructor,locale::facet::facet().

      Iftbl is null,classic_table() is used by all classification member functions. Otherwise,tbl must be a pointer to the first element of an array of masks, at leaststd::ctype<char>::table_size in size, and that array is used by all of this facet's classification member functions.

      Ifdel istrue, it is assumed that the array was allocated withnew[], and the destructor of this facet will calldelete[] tbl.

      [edit]Parameters

      tbl - classification table to use or a null pointer
      del - indicator whether the table needs to be deleted
      refs - starting reference count

      [edit]Example

      This section is incomplete
      Reason: no example
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/locale/ctype_char/ctype&oldid=160072"

      [8]ページ先頭

      ©2009-2025 Movatter.jp