Std::char traits
lastmod 2015-10-06created 2015-10-061 edits
The char_traits struct describes attributes associated with a character.
The template struct describes various character traits for type CharType. Several iostream template classes, including the template classes basic_string and basic_ios, use this information to manipulate elements of type CharType. Such an element type must not require explicit construction or destruction. It must supply the expected semantics for a default constructor, a copy constructor, and an assignment operator. A bitwise copy must have the same effect as an assignment. The member functions of the char_traits struct cannot throw exceptions.
std::char_traits::int_type
An integer type that can represent a character of type char_type or an end-of-file (EOF) character.