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. 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_type * find (const char_type *__s, size_t __n, const char_type &__a)
char_type * move (char_type *__s1, const char_type *__s2, size_t __n)
char_type * copy (char_type *__s1, const char_type *__s2, size_t __n)
char_type * assign (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.4 char_traits specializations.

Definition at line 132 of file char_traits.h.


Member Typedef Documentation

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

Definition at line 134 of file char_traits.h.

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

Definition at line 135 of file char_traits.h.

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

Definition at line 137 of file char_traits.h.

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

Definition at line 136 of file char_traits.h.

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

Definition at line 138 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 173 of file char_traits.h.

References std::char_traits< _CharT >::char_type.

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

Definition at line 141 of file char_traits.h.

References std::char_traits< _CharT >::char_type.

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

Definition at line 153 of file char_traits.h.

References std::char_traits< _CharT >::char_type.

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

Definition at line 169 of file char_traits.h.

References std::char_traits< _CharT >::char_type.

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

Definition at line 191 of file char_traits.h.

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

Definition at line 145 of file char_traits.h.

References std::char_traits< _CharT >::char_type.

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

Definition at line 187 of file char_traits.h.

References std::char_traits< _CharT >::int_type.

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

Definition at line 161 of file char_traits.h.

References std::char_traits< _CharT >::char_type, and std::memchr().

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

Definition at line 157 of file char_traits.h.

References std::char_traits< _CharT >::char_type.

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

Definition at line 149 of file char_traits.h.

References std::char_traits< _CharT >::char_type.

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

Definition at line 165 of file char_traits.h.

References std::char_traits< _CharT >::char_type.

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

Definition at line 194 of file char_traits.h.

References std::char_traits< _CharT >::eof(), and std::char_traits< _CharT >::int_type.

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

Definition at line 177 of file char_traits.h.

References std::char_traits< _CharT >::int_type.

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

Definition at line 183 of file char_traits.h.

References std::char_traits< _CharT >::char_type.


The documentation for this struct was generated from the following file:
Generated on Mon Apr 8 03:18:55 2002 for libstdc++-v3 Source by doxygen1.2.15