Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::char_traits< char > Struct Template Reference

21.1.4 char_traits specializations <char> specialization. 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 Methods

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)
 To keep both the byte 0xff and the eof symbol 0xffffffff from ending up as 0xffffffff.

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.4 char_traits specializations <char> specialization.

Definition at line 146 of file char_traits.h.


Member Typedef Documentation

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

Definition at line 148 of file char_traits.h.

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

Definition at line 149 of file char_traits.h.

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

Definition at line 151 of file char_traits.h.

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

Definition at line 150 of file char_traits.h.

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

Definition at line 152 of file char_traits.h.


Member Function Documentation

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

Definition at line 196 of file char_traits.h.

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

Definition at line 156 of file char_traits.h.

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

Definition at line 171 of file char_traits.h.

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

Definition at line 191 of file char_traits.h.

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

Definition at line 217 of file char_traits.h.

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

Definition at line 161 of file char_traits.h.

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

Definition at line 212 of file char_traits.h.

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

Definition at line 181 of file char_traits.h.

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

Definition at line 176 of file char_traits.h.

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

Definition at line 166 of file char_traits.h.

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

Definition at line 186 of file char_traits.h.

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

Definition at line 221 of file char_traits.h.

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

Definition at line 201 of file char_traits.h.

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

To keep both the byte 0xff and the eof symbol 0xffffffff from ending up as 0xffffffff.

Definition at line 207 of file char_traits.h.


The documentation for this struct was generated from the following file:
Generated at Tue May 1 16:30:09 2001 for libstdc++-v3 by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001