__gnu_cxx::_Char_types(3cxx)

__gnu_cxx::_Char_types3cxx

Mapping from character type to associated types.

Usage

#include <char_traits.h>

Public Types

typedef unsigned long int_type
typedef std::streamoff off_type
typedef std::streampos pos_type
typedef std::mbstate_t state_type

Detailed Description

template<typename _CharT>

struct __gnu_cxx::_Char_types< _CharT >"Mapping from character type to associated types.

Note

This is an implementation class for the generic version of char_traits. It defines int_type, off_type, pos_type, and state_type. By default these are unsigned long, streamoff, streampos, and mbstate_t. Users who need a different set of types, but who don't need to change the definitions of any function defined in char_traits, can specialize __gnu_cxx::_Char_types while leaving __gnu_cxx::char_traits alone.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

Author

Generated automatically by Doxygen for libstdc++ from the source code.

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.