basic_string.h File Reference

#include <bits/atomicity.h>
#include <debug/debug.h>

Include dependency graph for basic_string.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  std

Classes

class  std::basic_string< CharT, Traits, Alloc >
 Managing sequences of characters and character-like objects. More...
struct  std::basic_string< CharT, Traits, Alloc >::Rep_base
struct  std::basic_string< CharT, Traits, Alloc >::Rep
struct  std::basic_string< CharT, Traits, Alloc >::Alloc_hider

Defines

#define BASICSTRINGH

Functions

template<typename CharT, typename Traits, typename Alloc>
basic_string< CharT, Traits,
Alloc > 
std::operator+ (const basic_string< CharT, Traits, Alloc > &__lhs, const basic_string< CharT, Traits, Alloc > &__rhs)
 Concatenate two strings.
template<typename CharT, typename Traits, typename Alloc>
basic_string< CharT, Traits,
Alloc > 
std::operator+ (const CharT *__lhs, const basic_string< CharT, Traits, Alloc > &__rhs)
 Concatenate C string and string.
template<typename CharT, typename Traits, typename Alloc>
basic_string< CharT, Traits,
Alloc > 
std::operator+ (CharT __lhs, const basic_string< CharT, Traits, Alloc > &__rhs)
 Concatenate character and string.
template<typename CharT, typename Traits, typename Alloc>
basic_string< CharT, Traits,
Alloc > 
std::operator+ (const basic_string< CharT, Traits, Alloc > &__lhs, const CharT *__rhs)
 Concatenate string and C string.
template<typename CharT, typename Traits, typename Alloc>
basic_string< CharT, Traits,
Alloc > 
std::operator+ (const basic_string< CharT, Traits, Alloc > &__lhs, CharT __rhs)
 Concatenate string and character.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator== (const basic_string< CharT, Traits, Alloc > &__lhs, const basic_string< CharT, Traits, Alloc > &__rhs)
 Test equivalence of two strings.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator== (const CharT *__lhs, const basic_string< CharT, Traits, Alloc > &__rhs)
 Test equivalence of C string and string.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator== (const basic_string< CharT, Traits, Alloc > &__lhs, const CharT *__rhs)
 Test equivalence of string and C string.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator!= (const basic_string< CharT, Traits, Alloc > &__lhs, const basic_string< CharT, Traits, Alloc > &__rhs)
 Test difference of two strings.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator!= (const CharT *__lhs, const basic_string< CharT, Traits, Alloc > &__rhs)
 Test difference of C string and string.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator!= (const basic_string< CharT, Traits, Alloc > &__lhs, const CharT *__rhs)
 Test difference of string and C string.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator< (const basic_string< CharT, Traits, Alloc > &__lhs, const basic_string< CharT, Traits, Alloc > &__rhs)
 Test if string precedes string.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator< (const basic_string< CharT, Traits, Alloc > &__lhs, const CharT *__rhs)
 Test if string precedes C string.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator< (const CharT *__lhs, const basic_string< CharT, Traits, Alloc > &__rhs)
 Test if C string precedes string.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator> (const basic_string< CharT, Traits, Alloc > &__lhs, const basic_string< CharT, Traits, Alloc > &__rhs)
 Test if string follows string.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator> (const basic_string< CharT, Traits, Alloc > &__lhs, const CharT *__rhs)
 Test if string follows C string.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator> (const CharT *__lhs, const basic_string< CharT, Traits, Alloc > &__rhs)
 Test if C string follows string.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator<= (const basic_string< CharT, Traits, Alloc > &__lhs, const basic_string< CharT, Traits, Alloc > &__rhs)
 Test if string doesn't follow string.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator<= (const basic_string< CharT, Traits, Alloc > &__lhs, const CharT *__rhs)
 Test if string doesn't follow C string.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator<= (const CharT *__lhs, const basic_string< CharT, Traits, Alloc > &__rhs)
 Test if C string doesn't follow string.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator>= (const basic_string< CharT, Traits, Alloc > &__lhs, const basic_string< CharT, Traits, Alloc > &__rhs)
 Test if string doesn't precede string.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator>= (const basic_string< CharT, Traits, Alloc > &__lhs, const CharT *__rhs)
 Test if string doesn't precede C string.
template<typename CharT, typename Traits, typename Alloc>
bool std::operator>= (const CharT *__lhs, const basic_string< CharT, Traits, Alloc > &__rhs)
 Test if C string doesn't precede string.
template<typename CharT, typename Traits, typename Alloc>
void std::swap (basic_string< CharT, Traits, Alloc > &__lhs, basic_string< CharT, Traits, Alloc > &__rhs)
 Swap contents of two strings.
template<typename CharT, typename Traits, typename Alloc>
basic_istream< CharT, Traits > & std::operator>> (basic_istream< CharT, Traits > &__is, basic_string< CharT, Traits, Alloc > &str)
 Read stream into a string.
template<typename CharT, typename Traits, typename Alloc>
basic_ostream< CharT, Traits > & std::operator<< (basic_ostream< CharT, Traits > &__os, const basic_string< CharT, Traits, Alloc > &str)
 Write string to a stream.
template<typename CharT, typename Traits, typename Alloc>
basic_istream< CharT, Traits > & std::getline (basic_istream< CharT, Traits > &__is, basic_string< CharT, Traits, Alloc > &str, CharT __delim)
 Read a line from stream into a string.
template<typename CharT, typename Traits, typename Alloc>
basic_istream< CharT, Traits > & std::getline (basic_istream< CharT, Traits > &__is, basic_string< CharT, Traits, Alloc > &str)
 Read a line from stream into a string.


Detailed Description

This is an internal header file, included by other library headers. You should not attempt to use it directly.

Definition in file basic_string.h.


Generated on Fri Sep 16 11:03:55 2005 for libstdc++-v3 Source by  doxygen 1.4.4