Namespaces
Variants
Views
Actions

std::ctype<char>::table

From cppreference.com
< cpp‎ | locale‎ | ctype char
Revision as of 18:43, 26 August 2013 by P12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
 
Defined in header <locale>
const mask* table() const;
(1)

Returns the classification table that was provided in the constructor of this instance of std::ctype<char>, or returns a copy of classic_table() if none was provided.

Contents

[edit] Parameters

(none)

[edit] Return value

A pointer to the first element in the classification table (which an array of size std::ctype<char>::table_size).

[edit] Exceptions

(none) (until C++11)
noexcept specification:  
noexcept
  
(since C++11)

[edit] Example