__gnu_cxx::Char_types(3)

__gnu_cxx::Char_types3

Mapping from character type to associated types.

Usage

#include <char_traits.h>

Public Types

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

Detailed Description

template<class 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.

Definition at line 63 of file char_traits.h.

Releases

2 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1
  2. 4.0

Author

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

From libstdc++6-doc 3.4.6-5 in Debian 4.0 (Etch). Parsed by carta from the page's man source.