共用方式為


char_traits<char> Struct

A struct that is a specialization of the template struct char_traits<CharType> to an element of type char.

template<> struct char_traits<char>;

Remarks

Specialization allows the struct to take advantage of library functions that manipulate objects of this type char.

Example

See the typedefs and member functions of the template class char_traits Class<CharType> for examples involving elements of type char.

Requirements

Header: <string>

Namespace: std

See Also

Concepts

<string> Members