std::char_traits< char > Struct Template Reference

21.1.3.1 char_traits specializations More...

#include <char_traits.h>

List of all members.

Public Types

typedef char char_type
typedef int int_type
typedef streampos pos_type
typedef streamoff off_type
typedef mbstate_t state_type

Static Public Member Functions

void assign (char_type &__c1, const char_type &__c2)
bool eq (const char_type &__c1, const char_type &__c2)
bool lt (const char_type &__c1, const char_type &__c2)
int compare (const char_type *__s1, const char_type *__s2, size_t __n)
size_t length (const char_type *__s)
const char_typefind (const char_type *__s, size_t __n, const char_type &__a)
char_typemove (char_type *__s1, const char_type *__s2, size_t __n)
char_typecopy (char_type *__s1, const char_type *__s2, size_t __n)
char_typeassign (char_type *__s, size_t __n, char_type __a)
char_type to_char_type (const int_type &__c)
int_type to_int_type (const char_type &__c)
bool eq_int_type (const int_type &__c1, const int_type &__c2)
int_type eof ()
int_type not_eof (const int_type &__c)


Detailed Description

template<>
struct std::char_traits< char >

21.1.3.1 char_traits specializations

Definition at line 232 of file char_traits.h.


Member Typedef Documentation

typedef char std::char_traits< char >::char_type
 

Definition at line 234 of file char_traits.h.

typedef int std::char_traits< char >::int_type
 

Definition at line 235 of file char_traits.h.

typedef streamoff std::char_traits< char >::off_type
 

Definition at line 237 of file char_traits.h.

typedef streampos std::char_traits< char >::pos_type
 

Definition at line 236 of file char_traits.h.

typedef mbstate_t std::char_traits< char >::state_type
 

Definition at line 238 of file char_traits.h.


Member Function Documentation

char_type* std::char_traits< char >::assign char_type __s,
size_t  __n,
char_type  __a
[inline, static]
 

Definition at line 273 of file char_traits.h.

void std::char_traits< char >::assign char_type __c1,
const char_type __c2
[inline, static]
 

Definition at line 241 of file char_traits.h.

int std::char_traits< char >::compare const char_type __s1,
const char_type __s2,
size_t  __n
[inline, static]
 

Definition at line 253 of file char_traits.h.

char_type* std::char_traits< char >::copy char_type __s1,
const char_type __s2,
size_t  __n
[inline, static]
 

Definition at line 269 of file char_traits.h.

int_type std::char_traits< char >::eof  )  [inline, static]
 

Definition at line 291 of file char_traits.h.

bool std::char_traits< char >::eq const char_type __c1,
const char_type __c2
[inline, static]
 

Definition at line 245 of file char_traits.h.

bool std::char_traits< char >::eq_int_type const int_type __c1,
const int_type __c2
[inline, static]
 

Definition at line 287 of file char_traits.h.

const char_type* std::char_traits< char >::find const char_type __s,
size_t  __n,
const char_type __a
[inline, static]
 

Definition at line 261 of file char_traits.h.

References std::memchr().

size_t std::char_traits< char >::length const char_type __s  )  [inline, static]
 

Definition at line 257 of file char_traits.h.

bool std::char_traits< char >::lt const char_type __c1,
const char_type __c2
[inline, static]
 

Definition at line 249 of file char_traits.h.

char_type* std::char_traits< char >::move char_type __s1,
const char_type __s2,
size_t  __n
[inline, static]
 

Definition at line 265 of file char_traits.h.

int_type std::char_traits< char >::not_eof const int_type __c  )  [inline, static]
 

Definition at line 294 of file char_traits.h.

References __gnu_cxx::char_traits< _CharT >::eof().

char_type std::char_traits< char >::to_char_type const int_type __c  )  [inline, static]
 

Definition at line 277 of file char_traits.h.

int_type std::char_traits< char >::to_int_type const char_type __c  )  [inline, static]
 

Definition at line 283 of file char_traits.h.


The documentation for this struct was generated from the following file:
Generated on Tue Jan 30 17:32:13 2007 for GNU C++ STL by doxygen 1.3.6