basic_string.h File Reference

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

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 _BASIC_STRING_H   1

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<>
basic_istream< char > & std::operator>> (basic_istream< char > &__is, basic_string< char > &__str)
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.
template<>
basic_istream< char > & std::getline (basic_istream< char > &__in, basic_string< char > &__str, char __delim)


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.


Define Documentation

#define _BASIC_STRING_H   1

Definition at line 41 of file basic_string.h.


Generated on Tue Feb 2 16:57:12 2010 for GNU C++ STL by  doxygen 1.4.7