Whole document tree
    

Whole document tree

Templatestd::basic_string class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::basic_string< _CharT, _Traits, _Alloc > Class Template Reference

#include <basic_string.h>

Inheritance diagram for std::basic_string:

Inheritance graph
[legend]
Collaboration diagram for std::basic_string< _CharT, _Traits, _Alloc >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef _Traits traits_type
typedef _Traits::char_type value_type
typedef _Alloc allocator_type
typedef _Alloc::size_type size_type
typedef _Alloc::difference_type difference_type
typedef _Alloc::reference reference
typedef _Alloc::const_reference const_reference
typedef _Alloc::pointer pointer
typedef _Alloc::const_pointer const_pointer
typedef __normal_iterator<
pointer, basic_string > 
iterator
typedef __normal_iterator<
const_pointer, basic_string > 
const_iterator
typedef reverse_iterator<
const_iterator
const_reverse_iterator
typedef reverse_iterator<
iterator
reverse_iterator

Public Methods

 basic_string ()
 basic_string (const _Alloc &__a)
 basic_string (const basic_string &__str)
 basic_string (const basic_string &__str, size_type __pos, size_type __n=npos)
 basic_string (const basic_string &__str, size_type __pos, size_type __n, const _Alloc &__a)
 basic_string (const _CharT *__s, size_type __n, const _Alloc &__a=_Alloc())
 basic_string (const _CharT *__s, const _Alloc &__a=_Alloc())
 basic_string (size_type __n, _CharT __c, const _Alloc &__a=_Alloc())
template<class _InputIterator>  basic_string (_InputIterator __begin, _InputIterator __end, const _Alloc &__a=_Alloc())
 ~basic_string ()
basic_string & operator= (const basic_string &__str)
basic_string & operator= (const _CharT *__s)
basic_string & operator= (_CharT __c)
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
size_type size () const
size_type length () const
size_type max_size () const
void resize (size_type __n, _CharT __c)
void resize (size_type __n)
size_type capacity () const
void reserve (size_type __res_arg=0)
void clear ()
bool empty () const
const_reference operator[] (size_type __pos) const
reference operator[] (size_type __pos)
const_reference at (size_type __n) const
reference at (size_type __n)
basic_string & operator+= (const basic_string &__str)
basic_string & operator+= (const _CharT *__s)
basic_string & operator+= (_CharT __c)
basic_string & append (const basic_string &__str)
basic_string & append (const basic_string &__str, size_type __pos, size_type __n)
basic_string & append (const _CharT *__s, size_type __n)
basic_string & append (const _CharT *__s)
basic_string & append (size_type __n, _CharT __c)
template<class _InputIterator> basic_string & append (_InputIterator __first, _InputIterator __last)
void push_back (_CharT __c)
basic_string & assign (const basic_string &__str)
basic_string & assign (const basic_string &__str, size_type __pos, size_type __n)
basic_string & assign (const _CharT *__s, size_type __n)
basic_string & assign (const _CharT *__s)
basic_string & assign (size_type __n, _CharT __c)
template<class _InputIterator> basic_string & assign (_InputIterator __first, _InputIterator __last)
void insert (iterator __p, size_type __n, _CharT __c)
template<class _InputIterator> void insert (iterator __p, _InputIterator __beg, _InputIterator __end)
basic_string & insert (size_type __pos1, const basic_string &__str)
basic_string & insert (size_type __pos1, const basic_string &__str, size_type __pos2, size_type __n)
basic_string & insert (size_type __pos, const _CharT *__s, size_type __n)
basic_string & insert (size_type __pos, const _CharT *__s)
basic_string & insert (size_type __pos, size_type __n, _CharT __c)
iterator insert (iterator __p, _CharT __c=_CharT())
basic_string & erase (size_type __pos=0, size_type __n=npos)
iterator erase (iterator __position)
iterator erase (iterator __first, iterator __last)
basic_string & replace (size_type __pos, size_type __n, const basic_string &__str)
basic_string & replace (size_type __pos1, size_type __n1, const basic_string &__str, size_type __pos2, size_type __n2)
basic_string & replace (size_type __pos, size_type __n1, const _CharT *__s, size_type __n2)
basic_string & replace (size_type __pos, size_type __n1, const _CharT *__s)
basic_string & replace (size_type __pos, size_type __n1, size_type __n2, _CharT __c)
basic_string & replace (iterator __i1, iterator __i2, const basic_string &__str)
basic_string & replace (iterator __i1, iterator __i2, const _CharT *__s, size_type __n)
basic_string & replace (iterator __i1, iterator __i2, const _CharT *__s)
basic_string & replace (iterator __i1, iterator __i2, size_type __n, _CharT __c)
template<class _InputIterator> basic_string & replace (iterator __i1, iterator __i2, _InputIterator __k1, _InputIterator __k2)
size_type copy (_CharT *__s, size_type __n, size_type __pos=0) const
void swap (basic_string< _CharT, _Traits, _Alloc > &__s)
const _CharT * c_str () const
const _CharT * data () const
allocator_type get_allocator () const
size_type find (const _CharT *__s, size_type __pos, size_type __n) const
size_type find (const basic_string &__str, size_type __pos=0) const
size_type find (const _CharT *__s, size_type __pos=0) const
size_type find (_CharT __c, size_type __pos=0) const
size_type rfind (const basic_string &__str, size_type __pos=npos) const
size_type rfind (const _CharT *__s, size_type __pos, size_type __n) const
size_type rfind (const _CharT *__s, size_type __pos=npos) const
size_type rfind (_CharT __c, size_type __pos=npos) const
size_type find_first_of (const basic_string &__str, size_type __pos=0) const
size_type find_first_of (const _CharT *__s, size_type __pos, size_type __n) const
size_type find_first_of (const _CharT *__s, size_type __pos=0) const
size_type find_first_of (_CharT __c, size_type __pos=0) const
size_type find_last_of (const basic_string &__str, size_type __pos=npos) const
size_type find_last_of (const _CharT *__s, size_type __pos, size_type __n) const
size_type find_last_of (const _CharT *__s, size_type __pos=npos) const
size_type find_last_of (_CharT __c, size_type __pos=npos) const
size_type find_first_not_of (const basic_string &__str, size_type __pos=0) const
size_type find_first_not_of (const _CharT *__s, size_type __pos, size_type __n) const
size_type find_first_not_of (const _CharT *__s, size_type __pos=0) const
size_type find_first_not_of (_CharT __c, size_type __pos=0) const
size_type find_last_not_of (const basic_string &__str, size_type __pos=npos) const
size_type find_last_not_of (const _CharT *__s, size_type __pos, size_type __n) const
size_type find_last_not_of (const _CharT *__s, size_type __pos=npos) const
size_type find_last_not_of (_CharT __c, size_type __pos=npos) const
basic_string substr (size_type __pos=0, size_type __n=npos) const
int compare (const basic_string &__str) const
int compare (size_type __pos, size_type __n, const basic_string &__str) const
int compare (size_type __pos1, size_type __n1, const basic_string &__str, size_type __pos2, size_type __n2) const
int compare (const _CharT *__s) const

Static Public Attributes

const size_type npos = static_cast<size_type>(-1)

Private Methods

_CharT * _M_data () const
_CharT * _M_data (_CharT *__p)
_Rep_M_rep () const
iterator _M_ibegin () const
iterator _M_iend () const
void _M_leak ()
iterator _M_check (size_type __pos) const
iterator _M_fold (size_type __pos, size_type __off) const
void _M_mutate (size_type __pos, size_type __len1, size_type __len2)
void _M_leak_hard ()
template<class _InputIterator> basic_string & _M_replace (iterator __i1, iterator __i2, _InputIterator __k1, _InputIterator __k2, input_iterator_tag)
template<class _FwdIterator> basic_string & _M_replace (iterator __i1, iterator __i2, _FwdIterator __k1, _FwdIterator __k2, forward_iterator_tag)

Static Private Methods

template<class _Iterator> void _S_copy_chars (_CharT *__p, _Iterator __k1, _Iterator __k2)
void _S_copy_chars (_CharT *__p, iterator __k1, iterator __k2)
void _S_copy_chars (_CharT *__p, const_iterator __k1, const_iterator __k2)
void _S_copy_chars (_CharT *__p, _CharT *__k1, _CharT *__k2)
void _S_copy_chars (_CharT *__p, const _CharT *__k1, const _CharT *__k2)
_Rep_S_empty_rep ()
template<class _InIter> _CharT * _S_construct_aux (_InIter __beg, _InIter __end, const _Alloc &__a, __false_type)
template<class _InIter> _CharT * _S_construct_aux (_InIter __beg, _InIter __end, const _Alloc &__a, __true_type)
template<class _InIter> _CharT * _S_construct (_InIter __beg, _InIter __end, const _Alloc &__a)
template<class _InIter> _CharT * _S_construct (_InIter __beg, _InIter __end, const _Alloc &__a, input_iterator_tag)
template<class _FwdIter> _CharT * _S_construct (_FwdIter __end, _FwdIter __beg, const _Alloc &__a, forward_iterator_tag)
_CharT * _S_construct (size_type __req, _CharT __c, const _Alloc &__a)

Private Attributes

_Alloc_hider _M_dataplus

Static Private Attributes

size_type _S_empty_rep_storage [(sizeof(_Rep)+sizeof(_CharT)+sizeof(size_type)-1)/sizeof(size_type)]

template<typename _CharT, typename _Traits, typename _Alloc>
class std::basic_string< _CharT, _Traits, _Alloc >


Member Typedef Documentation

template<typename _CharT, typename _Traits, typename _Alloc>
typedef _Alloc std::basic_string< _CharT, _Traits, _Alloc >::allocator_type
 

Definition at line 90 of file basic_string.h.

Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::assign(), and std::basic_string< _CharT, _Traits, _Alloc >::reserve().

template<typename _CharT, typename _Traits, typename _Alloc>
typedef __normal_iterator<const_pointer, basic_string> std::basic_string< _CharT, _Traits, _Alloc >::const_iterator
 

Definition at line 98 of file basic_string.h.

Referenced by std::basic_string< char >::begin(), and std::basic_string< char >::end().

template<typename _CharT, typename _Traits, typename _Alloc>
typedef _Alloc::const_pointer std::basic_string< _CharT, _Traits, _Alloc >::const_pointer
 

Definition at line 96 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
typedef _Alloc::const_reference std::basic_string< _CharT, _Traits, _Alloc >::const_reference
 

Definition at line 94 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
typedef reverse_iterator<const_iterator> std::basic_string< _CharT, _Traits, _Alloc >::const_reverse_iterator
 

Definition at line 99 of file basic_string.h.

Referenced by std::basic_string< char >::rbegin(), and std::basic_string< char >::rend().

template<typename _CharT, typename _Traits, typename _Alloc>
typedef _Alloc::difference_type std::basic_string< _CharT, _Traits, _Alloc >::difference_type
 

Definition at line 92 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
typedef __normal_iterator<pointer, basic_string> std::basic_string< _CharT, _Traits, _Alloc >::iterator
 

Definition at line 97 of file basic_string.h.

Referenced by std::basic_string< char >::_M_ibegin(), std::basic_string< char >::_M_iend(), std::basic_string< char >::begin(), and std::basic_string< char >::end().

template<typename _CharT, typename _Traits, typename _Alloc>
typedef _Alloc::pointer std::basic_string< _CharT, _Traits, _Alloc >::pointer
 

Definition at line 95 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
typedef _Alloc::reference std::basic_string< _CharT, _Traits, _Alloc >::reference
 

Definition at line 93 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
typedef reverse_iterator<iterator> std::basic_string< _CharT, _Traits, _Alloc >::reverse_iterator
 

Definition at line 100 of file basic_string.h.

Referenced by std::basic_string< char >::rbegin(), and std::basic_string< char >::rend().

template<typename _CharT, typename _Traits, typename _Alloc>
typedef _Alloc::size_type std::basic_string< _CharT, _Traits, _Alloc >::size_type
 

Definition at line 91 of file basic_string.h.

Referenced by std::basic_string< char >::_M_check(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_clone(), std::basic_string< char >::_M_fold(), std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::_M_replace(), std::basic_string< _CharT, _Traits, _Alloc >::_S_construct(), std::basic_string< _CharT, _Traits, _Alloc >::append(), std::basic_string< char >::assign(), std::basic_string< char >::at(), std::basic_string< char >::c_str(), std::basic_string< _CharT, _Traits, _Alloc >::compare(), std::basic_string< char >::compare(), std::basic_string< char >::erase(), std::basic_string< _CharT, _Traits, _Alloc >::find(), std::basic_string< char >::find(), std::basic_string< char >::find_first_not_of(), std::basic_string< char >::find_first_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_last_not_of(), std::basic_string< char >::find_last_not_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_last_of(), std::basic_string< char >::find_last_of(), std::basic_string< char >::insert(), std::basic_string< char >::operator+=(), std::basic_string< char >::operator[](), std::basic_string< _CharT, _Traits, _Alloc >::replace(), std::basic_string< char >::replace(), std::basic_string< _CharT, _Traits, _Alloc >::resize(), std::basic_string< char >::resize(), std::basic_string< _CharT, _Traits, _Alloc >::rfind(), std::basic_string< char >::rfind(), and std::basic_string< char >::substr().

template<typename _CharT, typename _Traits, typename _Alloc>
typedef _Traits std::basic_string< _CharT, _Traits, _Alloc >::traits_type
 

Definition at line 88 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
typedef _Traits::char_type std::basic_string< _CharT, _Traits, _Alloc >::value_type
 

Definition at line 89 of file basic_string.h.


Constructor & Destructor Documentation

template<typename _CharT, typename _Traits, typename _Alloc>
std::basic_string< _CharT, _Traits, _Alloc >::basic_string   [inline]
 

Definition at line 859 of file basic_string.h.

Referenced by std::basic_string< char >::substr().

template<typename _CharT, typename _Traits, typename _Alloc>
std::basic_string< _CharT, _Traits, _Alloc >::basic_string const _Alloc &    __a [explicit]
 

Definition at line 191 of file basic_string.tcc.

template<typename _CharT, typename _Traits, typename _Alloc>
std::basic_string< _CharT, _Traits, _Alloc >::basic_string const basic_string< _CharT, _Traits, _Alloc > &    __str
 

Definition at line 184 of file basic_string.tcc.

template<typename _CharT, typename _Traits, typename _Alloc>
std::basic_string< _CharT, _Traits, _Alloc >::basic_string const basic_string< _CharT, _Traits, _Alloc > &    __str,
size_type    __pos,
size_type    __n = npos
 

Definition at line 197 of file basic_string.tcc.

template<typename _CharT, typename _Traits, typename _Alloc>
std::basic_string< _CharT, _Traits, _Alloc >::basic_string const basic_string< _CharT, _Traits, _Alloc > &    __str,
size_type    __pos,
size_type    __n,
const _Alloc &    __a
 

Definition at line 204 of file basic_string.tcc.

template<typename _CharT, typename _Traits, typename _Alloc>
std::basic_string< _CharT, _Traits, _Alloc >::basic_string const _CharT *    __s,
size_type    __n,
const _Alloc &    __a = _Alloc()
 

Definition at line 212 of file basic_string.tcc.

template<typename _CharT, typename _Traits, typename _Alloc>
std::basic_string< _CharT, _Traits, _Alloc >::basic_string const _CharT *    __s,
const _Alloc &    __a = _Alloc()
 

Definition at line 218 of file basic_string.tcc.

template<typename _CharT, typename _Traits, typename _Alloc>
std::basic_string< _CharT, _Traits, _Alloc >::basic_string size_type    __n,
_CharT    __c,
const _Alloc &    __a = _Alloc()
 

Definition at line 224 of file basic_string.tcc.

template<typename _CharT, typename _Traits, typename _Alloc>
template<typename _InputIter>
std::basic_string< _CharT, _Traits, _Alloc >::basic_string _InputIterator    __begin,
_InputIterator    __end,
const _Alloc &    __a = _Alloc()
 

Definition at line 231 of file basic_string.tcc.

template<typename _CharT, typename _Traits, typename _Alloc>
std::basic_string< _CharT, _Traits, _Alloc >::~basic_string   [inline]
 

Definition at line 343 of file basic_string.h.


Member Function Documentation

template<typename _CharT, typename _Traits, typename _Alloc>
iterator std::basic_string< _CharT, _Traits, _Alloc >::_M_check size_type    __pos const [inline, private]
 

Definition at line 264 of file basic_string.h.

Referenced by std::basic_string< _CharT, _Traits, _Alloc >::append(), std::basic_string< char >::assign(), std::basic_string< char >::erase(), std::basic_string< char >::insert(), std::basic_string< _CharT, _Traits, _Alloc >::replace(), and std::basic_string< char >::replace().

template<typename _CharT, typename _Traits, typename _Alloc>
_CharT* std::basic_string< _CharT, _Traits, _Alloc >::_M_data _CharT *    __p [inline, private]
 

Definition at line 241 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
_CharT* std::basic_string< _CharT, _Traits, _Alloc >::_M_data   const [inline, private]
 

Definition at line 237 of file basic_string.h.

Referenced by std::basic_string< char >::_M_ibegin(), std::basic_string< char >::_M_iend(), std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< char >::_M_rep(), std::basic_string< _CharT, _Traits, _Alloc >::_M_replace(), std::basic_string< _CharT, _Traits, _Alloc >::assign(), std::basic_string< char >::at(), std::basic_string< char >::begin(), std::basic_string< char >::c_str(), std::basic_string< _CharT, _Traits, _Alloc >::compare(), std::basic_string< char >::compare(), std::basic_string< _CharT, _Traits, _Alloc >::copy(), std::basic_string< char >::data(), std::basic_string< char >::end(), std::basic_string< char >::erase(), std::basic_string< _CharT, _Traits, _Alloc >::find(), std::basic_string< _CharT, _Traits, _Alloc >::find_first_not_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_first_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_last_not_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_last_of(), std::basic_string< char >::operator[](), std::basic_string< _CharT, _Traits, _Alloc >::replace(), std::basic_string< _CharT, _Traits, _Alloc >::reserve(), std::basic_string< _CharT, _Traits, _Alloc >::rfind(), and std::basic_string< _CharT, _Traits, _Alloc >::swap().

template<typename _CharT, typename _Traits, typename _Alloc>
iterator std::basic_string< _CharT, _Traits, _Alloc >::_M_fold size_type    __pos,
size_type    __off
const [inline, private]
 

Definition at line 273 of file basic_string.h.

Referenced by std::basic_string< _CharT, _Traits, _Alloc >::append(), std::basic_string< char >::assign(), std::basic_string< char >::erase(), std::basic_string< char >::insert(), std::basic_string< _CharT, _Traits, _Alloc >::replace(), and std::basic_string< char >::replace().

template<typename _CharT, typename _Traits, typename _Alloc>
iterator std::basic_string< _CharT, _Traits, _Alloc >::_M_ibegin   const [inline, private]
 

Definition at line 251 of file basic_string.h.

Referenced by std::basic_string< char >::_M_check(), std::basic_string< char >::_M_fold(), std::basic_string< _CharT, _Traits, _Alloc >::_M_replace(), std::basic_string< _CharT, _Traits, _Alloc >::append(), std::basic_string< char >::assign(), std::basic_string< char >::erase(), std::basic_string< char >::insert(), std::basic_string< _CharT, _Traits, _Alloc >::replace(), and std::basic_string< _CharT, _Traits, _Alloc >::swap().

template<typename _CharT, typename _Traits, typename _Alloc>
iterator std::basic_string< _CharT, _Traits, _Alloc >::_M_iend   const [inline, private]
 

Definition at line 254 of file basic_string.h.

Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_M_replace(), std::basic_string< _CharT, _Traits, _Alloc >::append(), std::basic_string< char >::append(), std::basic_string< char >::assign(), std::basic_string< char >::insert(), std::basic_string< char >::push_back(), and std::basic_string< _CharT, _Traits, _Alloc >::swap().

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_string< _CharT, _Traits, _Alloc >::_M_leak   [inline, private]
 

Definition at line 257 of file basic_string.h.

Referenced by std::basic_string< char >::at(), std::basic_string< char >::begin(), std::basic_string< char >::end(), and std::basic_string< char >::operator[]().

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_string< _CharT, _Traits, _Alloc >::_M_leak_hard   [private]
 

Definition at line 261 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_is_shared(), std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::_M_rep(), and std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_set_leaked().

Referenced by std::basic_string< char >::_M_leak().

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate size_type    __pos,
size_type    __len1,
size_type    __len2
[private]
 

Definition at line 271 of file basic_string.tcc.

References __throw_exception_again, std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_dispose(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_is_shared(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_length, std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_refdata(), std::basic_string< _CharT, _Traits, _Alloc >::_M_rep(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_set_sharable(), std::basic_string< _CharT, _Traits, _Alloc >::allocator_type, std::basic_string< _CharT, _Traits, _Alloc >::capacity(), std::basic_string< _CharT, _Traits, _Alloc >::get_allocator(), std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_M_leak_hard(), std::basic_string< _CharT, _Traits, _Alloc >::_M_replace(), std::basic_string< char >::clear(), and std::basic_string< _CharT, _Traits, _Alloc >::replace().

template<typename _CharT, typename _Traits, typename _Alloc>
_Rep* std::basic_string< _CharT, _Traits, _Alloc >::_M_rep   const [inline, private]
 

Definition at line 245 of file basic_string.h.

Referenced by std::basic_string< char >::_M_leak(), std::basic_string< _CharT, _Traits, _Alloc >::_M_leak_hard(), std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::assign(), std::basic_string< char >::capacity(), std::basic_string< char >::erase(), std::basic_string< char >::insert(), std::basic_string< char >::length(), std::basic_string< _CharT, _Traits, _Alloc >::reserve(), std::basic_string< char >::size(), std::basic_string< _CharT, _Traits, _Alloc >::swap(), and std::basic_string< char >::~basic_string().

template<typename _CharT, typename _Traits, typename _Alloc>
template<typename _ForwardIter>
basic_string< _CharT, _Traits, _Alloc > & std::basic_string< _CharT, _Traits, _Alloc >::_M_replace iterator    __i1,
iterator    __i2,
_FwdIterator    __k1,
_FwdIterator    __k2,
forward_iterator_tag   
[private]
 

Definition at line 449 of file basic_string.tcc.

References std::__throw_length_error(), std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::_M_ibegin(), std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::_S_copy_chars(), distance(), std::basic_string< _CharT, _Traits, _Alloc >::max_size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
template<typename _InputIter>
basic_string< _CharT, _Traits, _Alloc > & std::basic_string< _CharT, _Traits, _Alloc >::_M_replace iterator    __i1,
iterator    __i2,
_InputIterator    __k1,
_InputIterator    __k2,
input_iterator_tag   
[private]
 

Definition at line 438 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_ibegin(), std::basic_string< _CharT, _Traits, _Alloc >::_M_iend(), and std::basic_string< _CharT, _Traits, _Alloc >::replace().

Referenced by std::basic_string< char >::replace().

template<typename _CharT, typename _Traits, typename _Alloc>
_CharT * std::basic_string< _CharT, _Traits, _Alloc >::_S_construct size_type    __req,
_CharT    __c,
const _Alloc &    __a
[static, private]
 

Definition at line 160 of file basic_string.tcc.

References __throw_exception_again, std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_destroy(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_length, std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_refcopy(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_refdata(), and std::basic_string< _CharT, _Traits, _Alloc >::_S_empty_rep().

template<typename _CharT, typename _Traits, typename _Alloc>
template<class _InIter>
_CharT * std::basic_string< _CharT, _Traits, _Alloc >::_S_construct _FwdIter    __end,
_FwdIter    __beg,
const _Alloc &    __a,
forward_iterator_tag   
[static, private]
 

Definition at line 134 of file basic_string.tcc.

References __throw_exception_again, std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_destroy(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_length, std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_refcopy(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_refdata(), std::basic_string< _CharT, _Traits, _Alloc >::_S_copy_chars(), std::basic_string< _CharT, _Traits, _Alloc >::_S_empty_rep(), distance(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
template<typename _InIter>
_CharT * std::basic_string< _CharT, _Traits, _Alloc >::_S_construct _InIter    __beg,
_InIter    __end,
const _Alloc &    __a,
input_iterator_tag   
[static, private]
 

Definition at line 74 of file basic_string.tcc.

References __throw_exception_again, std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_capacity, std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_destroy(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_length, std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_refcopy(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_refdata(), std::basic_string< _CharT, _Traits, _Alloc >::_S_empty_rep(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
template<class _InIter>
_CharT* std::basic_string< _CharT, _Traits, _Alloc >::_S_construct _InIter    __beg,
_InIter    __end,
const _Alloc &    __a
[inline, static, private]
 

Definition at line 681 of file basic_string.h.

Referenced by std::basic_string< char >::_S_construct_aux().

template<typename _CharT, typename _Traits, typename _Alloc>
template<class _InIter>
_CharT* std::basic_string< _CharT, _Traits, _Alloc >::_S_construct_aux _InIter    __beg,
_InIter    __end,
const _Alloc &    __a,
__true_type   
[inline, static, private]
 

Definition at line 672 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
template<class _InIter>
_CharT* std::basic_string< _CharT, _Traits, _Alloc >::_S_construct_aux _InIter    __beg,
_InIter    __end,
const _Alloc &    __a,
__false_type   
[inline, static, private]
 

Definition at line 663 of file basic_string.h.

Referenced by std::basic_string< char >::_S_construct().

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_string< _CharT, _Traits, _Alloc >::_S_copy_chars _CharT *    __p,
const _CharT *    __k1,
const _CharT *    __k2
[inline, static, private]
 

Definition at line 303 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_string< _CharT, _Traits, _Alloc >::_S_copy_chars _CharT *    __p,
_CharT *    __k1,
_CharT *    __k2
[inline, static, private]
 

Definition at line 299 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_string< _CharT, _Traits, _Alloc >::_S_copy_chars _CharT *    __p,
const_iterator    __k1,
const_iterator    __k2
[inline, static, private]
 

Definition at line 295 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_string< _CharT, _Traits, _Alloc >::_S_copy_chars _CharT *    __p,
iterator    __k1,
iterator    __k2
[inline, static, private]
 

Definition at line 291 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
template<class _Iterator>
void std::basic_string< _CharT, _Traits, _Alloc >::_S_copy_chars _CharT *    __p,
_Iterator    __k1,
_Iterator    __k2
[inline, static, private]
 

Definition at line 284 of file basic_string.h.

Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_M_replace(), std::basic_string< _CharT, _Traits, _Alloc >::_S_construct(), and std::basic_string< char >::_S_copy_chars().

template<typename _CharT, typename _Traits, typename _Alloc>
_Rep& std::basic_string< _CharT, _Traits, _Alloc >::_S_empty_rep   [inline, static, private]
 

Definition at line 313 of file basic_string.h.

Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_S_construct().

template<typename _CharT, typename _Traits, typename _Alloc>
template<class _InputIterator>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::append _InputIterator    __first,
_InputIterator    __last
[inline]
 

Definition at line 480 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc > & std::basic_string< _CharT, _Traits, _Alloc >::append size_type    __n,
_CharT    __c
 

Definition at line 523 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_iend(), std::basic_string< _CharT, _Traits, _Alloc >::capacity(), std::basic_string< _CharT, _Traits, _Alloc >::replace(), std::basic_string< _CharT, _Traits, _Alloc >::reserve(), std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::append const _CharT *    __s [inline]
 

Definition at line 472 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc > & std::basic_string< _CharT, _Traits, _Alloc >::append const _CharT *    __s,
size_type    __n
 

Definition at line 512 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_iend(), std::basic_string< _CharT, _Traits, _Alloc >::capacity(), std::basic_string< _CharT, _Traits, _Alloc >::replace(), std::basic_string< _CharT, _Traits, _Alloc >::reserve(), std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc > & std::basic_string< _CharT, _Traits, _Alloc >::append const basic_string< _CharT, _Traits, _Alloc > &    __str,
size_type    __pos,
size_type    __n
 

Definition at line 497 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_check(), std::basic_string< _CharT, _Traits, _Alloc >::_M_fold(), std::basic_string< _CharT, _Traits, _Alloc >::_M_iend(), std::basic_string< _CharT, _Traits, _Alloc >::capacity(), std::min(), std::basic_string< _CharT, _Traits, _Alloc >::replace(), std::basic_string< _CharT, _Traits, _Alloc >::reserve(), std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc > & std::basic_string< _CharT, _Traits, _Alloc >::append const basic_string< _CharT, _Traits, _Alloc > &    __str
 

Definition at line 481 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_ibegin(), std::basic_string< _CharT, _Traits, _Alloc >::_M_iend(), std::basic_string< _CharT, _Traits, _Alloc >::capacity(), std::basic_string< _CharT, _Traits, _Alloc >::replace(), std::basic_string< _CharT, _Traits, _Alloc >::reserve(), std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

Referenced by std::basic_string< char >::append(), std::operator+(), std::basic_string< char >::operator+=(), and std::basic_string< _CharT, _Traits, _Alloc >::resize().

template<typename _CharT, typename _Traits, typename _Alloc>
template<class _InputIterator>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::assign _InputIterator    __first,
_InputIterator    __last
[inline]
 

Definition at line 510 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::assign size_type    __n,
_CharT    __c
[inline]
 

Definition at line 505 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::assign const _CharT *    __s [inline]
 

Definition at line 501 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::assign const _CharT *    __s,
size_type    __n
[inline]
 

Definition at line 497 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::assign const basic_string< _CharT, _Traits, _Alloc > &    __str,
size_type    __pos,
size_type    __n
[inline]
 

Definition at line 491 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc > & std::basic_string< _CharT, _Traits, _Alloc >::assign const basic_string< _CharT, _Traits, _Alloc > &    __str
 

Definition at line 237 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_dispose(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_grab(), std::basic_string< _CharT, _Traits, _Alloc >::_M_rep(), std::basic_string< _CharT, _Traits, _Alloc >::allocator_type, and std::basic_string< _CharT, _Traits, _Alloc >::get_allocator().

Referenced by std::bitset< _Nb >::_M_copy_to_string(), std::basic_string< char >::assign(), and std::basic_string< char >::operator=().

template<typename _CharT, typename _Traits, typename _Alloc>
reference std::basic_string< _CharT, _Traits, _Alloc >::at size_type    __n [inline]
 

Definition at line 444 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
const_reference std::basic_string< _CharT, _Traits, _Alloc >::at size_type    __n const [inline]
 

Definition at line 436 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
const_iterator std::basic_string< _CharT, _Traits, _Alloc >::begin   const [inline]
 

Definition at line 364 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
iterator std::basic_string< _CharT, _Traits, _Alloc >::begin   [inline]
 

Definition at line 357 of file basic_string.h.

Referenced by std::basic_string< char >::replace().

template<typename _CharT, typename _Traits, typename _Alloc>
const _CharT* std::basic_string< _CharT, _Traits, _Alloc >::c_str   const [inline]
 

Definition at line 713 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::capacity   const [inline]
 

Definition at line 412 of file basic_string.h.

Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::append(), and std::basic_string< _CharT, _Traits, _Alloc >::reserve().

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_string< _CharT, _Traits, _Alloc >::clear   [inline]
 

Definition at line 418 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
int std::basic_string< _CharT, _Traits, _Alloc >::compare const _CharT *    __s const
 

Definition at line 805 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
int std::basic_string< _CharT, _Traits, _Alloc >::compare size_type    __pos1,
size_type    __n1,
const basic_string< _CharT, _Traits, _Alloc > &    __str,
size_type    __pos2,
size_type    __n2
const
 

Definition at line 783 of file basic_string.tcc.

References std::__throw_out_of_range(), std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::data(), std::min(), std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
int std::basic_string< _CharT, _Traits, _Alloc >::compare size_type    __pos,
size_type    __n,
const basic_string< _CharT, _Traits, _Alloc > &    __str
const
 

Definition at line 765 of file basic_string.tcc.

References std::__throw_out_of_range(), std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::data(), std::min(), std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
int std::basic_string< _CharT, _Traits, _Alloc >::compare const basic_string< _CharT, _Traits, _Alloc > &    __str const [inline]
 

Definition at line 823 of file basic_string.h.

Referenced by std::operator!=(), std::operator<(), std::operator<=(), std::operator==(), std::operator>(), and std::operator>=().

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc >::size_type std::basic_string< _CharT, _Traits, _Alloc >::copy _CharT *    __s,
size_type    __n,
size_type    __pos = 0
const
 

Definition at line 579 of file basic_string.tcc.

References std::__throw_out_of_range(), std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), and std::basic_string< _CharT, _Traits, _Alloc >::size().

template<typename _CharT, typename _Traits, typename _Alloc>
const _CharT* std::basic_string< _CharT, _Traits, _Alloc >::data   const [inline]
 

Definition at line 722 of file basic_string.h.

Referenced by std::_S_string_copy(), std::basic_string< _CharT, _Traits, _Alloc >::compare(), std::basic_string< char >::compare(), std::basic_string< char >::find(), std::basic_string< char >::find_first_not_of(), std::basic_string< char >::find_first_of(), std::basic_string< char >::find_last_not_of(), std::basic_string< char >::find_last_of(), std::locale::operator()(), and std::basic_string< char >::rfind().

template<typename _CharT, typename _Traits, typename _Alloc>
bool std::basic_string< _CharT, _Traits, _Alloc >::empty   const [inline]
 

Definition at line 421 of file basic_string.h.

Referenced by std::operator>>().

template<typename _CharT, typename _Traits, typename _Alloc>
const_iterator std::basic_string< _CharT, _Traits, _Alloc >::end   const [inline]
 

Definition at line 375 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
iterator std::basic_string< _CharT, _Traits, _Alloc >::end   [inline]
 

Definition at line 368 of file basic_string.h.

Referenced by std::basic_string< char >::replace().

template<typename _CharT, typename _Traits, typename _Alloc>
iterator std::basic_string< _CharT, _Traits, _Alloc >::erase iterator    __first,
iterator    __last
[inline]
 

Definition at line 584 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
iterator std::basic_string< _CharT, _Traits, _Alloc >::erase iterator    __position [inline]
 

Definition at line 575 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::erase size_type    __pos = 0,
size_type    __n = npos
[inline]
 

Definition at line 568 of file basic_string.h.

Referenced by std::getline(), std::operator>>(), and std::basic_string< _CharT, _Traits, _Alloc >::resize().

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc >::size_type std::basic_string< _CharT, _Traits, _Alloc >::find _CharT    __c,
size_type    __pos = 0
const
 

Definition at line 609 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::find const _CharT *    __s,
size_type    __pos = 0
const [inline]
 

Definition at line 735 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::find const basic_string< _CharT, _Traits, _Alloc > &    __str,
size_type    __pos = 0
const [inline]
 

Definition at line 731 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc >::size_type std::basic_string< _CharT, _Traits, _Alloc >::find const _CharT *    __s,
size_type    __pos,
size_type    __n
const
 

Definition at line 595 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

Referenced by std::basic_string< char >::find(), and std::basic_string< char >::find_first_of().

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc >::size_type std::basic_string< _CharT, _Traits, _Alloc >::find_first_not_of _CharT    __c,
size_type    __pos = 0
const
 

Definition at line 713 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, and std::basic_string< _CharT, _Traits, _Alloc >::size().

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::find_first_not_of const _CharT *    __s,
size_type    __pos = 0
const [inline]
 

Definition at line 794 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc >::size_type std::basic_string< _CharT, _Traits, _Alloc >::find_first_not_of const _CharT *    __s,
size_type    __pos,
size_type    __n
const
 

Definition at line 701 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, and std::basic_string< _CharT, _Traits, _Alloc >::size().

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::find_first_not_of const basic_string< _CharT, _Traits, _Alloc > &    __str,
size_type    __pos = 0
const [inline]
 

Definition at line 786 of file basic_string.h.

Referenced by std::basic_string< char >::find_first_not_of().

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::find_first_of _CharT    __c,
size_type    __pos = 0
const [inline]
 

Definition at line 767 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::find_first_of const _CharT *    __s,
size_type    __pos = 0
const [inline]
 

Definition at line 763 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc >::size_type std::basic_string< _CharT, _Traits, _Alloc >::find_first_of const _CharT *    __s,
size_type    __pos,
size_type    __n
const
 

Definition at line 667 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, and std::basic_string< _CharT, _Traits, _Alloc >::size().

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::find_first_of const basic_string< _CharT, _Traits, _Alloc > &    __str,
size_type    __pos = 0
const [inline]
 

Definition at line 756 of file basic_string.h.

Referenced by std::basic_string< char >::find_first_of().

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc >::size_type std::basic_string< _CharT, _Traits, _Alloc >::find_last_not_of _CharT    __c,
size_type    __pos = npos
const
 

Definition at line 745 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::find_last_not_of const _CharT *    __s,
size_type    __pos = npos
const [inline]
 

Definition at line 808 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc >::size_type std::basic_string< _CharT, _Traits, _Alloc >::find_last_not_of const _CharT *    __s,
size_type    __pos,
size_type    __n
const
 

Definition at line 725 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::find_last_not_of const basic_string< _CharT, _Traits, _Alloc > &    __str,
size_type    __pos = npos
const [inline]
 

Definition at line 801 of file basic_string.h.

Referenced by std::basic_string< char >::find_last_not_of().

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::find_last_of _CharT    __c,
size_type    __pos = npos
const [inline]
 

Definition at line 782 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::find_last_of const _CharT *    __s,
size_type    __pos = npos
const [inline]
 

Definition at line 778 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc >::size_type std::basic_string< _CharT, _Traits, _Alloc >::find_last_of const _CharT *    __s,
size_type    __pos,
size_type    __n
const
 

Definition at line 681 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::find_last_of const basic_string< _CharT, _Traits, _Alloc > &    __str,
size_type    __pos = npos
const [inline]
 

Definition at line 771 of file basic_string.h.

Referenced by std::basic_string< char >::find_last_of().

template<typename _CharT, typename _Traits, typename _Alloc>
allocator_type std::basic_string< _CharT, _Traits, _Alloc >::get_allocator   const [inline]
 

Definition at line 725 of file basic_string.h.

Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::assign(), std::basic_string< _CharT, _Traits, _Alloc >::reserve(), and std::basic_string< _CharT, _Traits, _Alloc >::swap().

template<typename _CharT, typename _Traits, typename _Alloc>
iterator std::basic_string< _CharT, _Traits, _Alloc >::insert iterator    __p,
_CharT    __c = _CharT()
[inline]
 

Definition at line 559 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::insert size_type    __pos,
size_type    __n,
_CharT    __c
[inline]
 

Definition at line 552 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::insert size_type    __pos,
const _CharT *    __s
[inline]
 

Definition at line 548 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::insert size_type    __pos,
const _CharT *    __s,
size_type    __n
[inline]
 

Definition at line 540 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::insert size_type    __pos1,
const basic_string< _CharT, _Traits, _Alloc > &    __str,
size_type    __pos2,
size_type    __n
[inline]
 

Definition at line 530 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::insert size_type    __pos1,
const basic_string< _CharT, _Traits, _Alloc > &    __str
[inline]
 

Definition at line 522 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
template<class _InputIterator>
void std::basic_string< _CharT, _Traits, _Alloc >::insert iterator    __p,
_InputIterator    __beg,
_InputIterator    __end
[inline]
 

Definition at line 518 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_string< _CharT, _Traits, _Alloc >::insert iterator    __p,
size_type    __n,
_CharT    __c
[inline]
 

Definition at line 514 of file basic_string.h.

Referenced by std::basic_string< char >::insert().

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::length   const [inline]
 

Definition at line 400 of file basic_string.h.

Referenced by std::locale::operator()().

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::max_size   const [inline]
 

Definition at line 403 of file basic_string.h.

Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_M_replace(), std::getline(), std::operator>>(), std::basic_string< _CharT, _Traits, _Alloc >::replace(), std::basic_string< _CharT, _Traits, _Alloc >::reserve(), and std::basic_string< _CharT, _Traits, _Alloc >::resize().

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::operator+= _CharT    __c [inline]
 

Definition at line 460 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::operator+= const _CharT *    __s [inline]
 

Definition at line 457 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::operator+= const basic_string< _CharT, _Traits, _Alloc > &    __str [inline]
 

Definition at line 454 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::operator= _CharT    __c [inline]
 

Definition at line 353 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::operator= const _CharT *    __s [inline]
 

Definition at line 350 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::operator= const basic_string< _CharT, _Traits, _Alloc > &    __str [inline]
 

Definition at line 347 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
reference std::basic_string< _CharT, _Traits, _Alloc >::operator[] size_type    __pos [inline]
 

Definition at line 429 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
const_reference std::basic_string< _CharT, _Traits, _Alloc >::operator[] size_type    __pos const [inline]
 

Definition at line 425 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_string< _CharT, _Traits, _Alloc >::push_back _CharT    __c [inline]
 

Definition at line 484 of file basic_string.h.

Referenced by std::operator>>().

template<typename _CharT, typename _Traits, typename _Alloc>
const_reverse_iterator std::basic_string< _CharT, _Traits, _Alloc >::rbegin   const [inline]
 

Definition at line 383 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
reverse_iterator std::basic_string< _CharT, _Traits, _Alloc >::rbegin   [inline]
 

Definition at line 379 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
const_reverse_iterator std::basic_string< _CharT, _Traits, _Alloc >::rend   const [inline]
 

Definition at line 391 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
reverse_iterator std::basic_string< _CharT, _Traits, _Alloc >::rend   [inline]
 

Definition at line 387 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
template<class _InputIterator>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::replace iterator    __i1,
iterator    __i2,
_InputIterator    __k1,
_InputIterator    __k2
[inline]
 

Definition at line 643 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc > & std::basic_string< _CharT, _Traits, _Alloc >::replace iterator    __i1,
iterator    __i2,
size_type    __n,
_CharT    __c
 

Definition at line 563 of file basic_string.tcc.

References std::__throw_length_error(), std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::_M_ibegin(), std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::max_size(), std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::replace iterator    __i1,
iterator    __i2,
const _CharT *    __s
[inline]
 

Definition at line 634 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::replace iterator    __i1,
iterator    __i2,
const _CharT *    __s,
size_type    __n
[inline]
 

Definition at line 629 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::replace iterator    __i1,
iterator    __i2,
const basic_string< _CharT, _Traits, _Alloc > &    __str
[inline]
 

Definition at line 625 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::replace size_type    __pos,
size_type    __n1,
size_type    __n2,
_CharT    __c
[inline]
 

Definition at line 619 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::replace size_type    __pos,
size_type    __n1,
const _CharT *    __s
[inline]
 

Definition at line 612 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::replace size_type    __pos,
size_type    __n1,
const _CharT *    __s,
size_type    __n2
[inline]
 

Definition at line 604 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc > & std::basic_string< _CharT, _Traits, _Alloc >::replace size_type    __pos1,
size_type    __n1,
const basic_string< _CharT, _Traits, _Alloc > &    __str,
size_type    __pos2,
size_type    __n2
 

Definition at line 470 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_check(), std::basic_string< _CharT, _Traits, _Alloc >::_M_fold(), and std::basic_string< _CharT, _Traits, _Alloc >::replace().

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string& std::basic_string< _CharT, _Traits, _Alloc >::replace size_type    __pos,
size_type    __n,
const basic_string< _CharT, _Traits, _Alloc > &    __str
[inline]
 

Definition at line 593 of file basic_string.h.

Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_M_replace(), std::basic_string< _CharT, _Traits, _Alloc >::append(), std::basic_string< char >::append(), std::basic_string< char >::assign(), std::basic_string< char >::erase(), std::basic_string< char >::insert(), std::basic_string< char >::push_back(), std::basic_string< _CharT, _Traits, _Alloc >::replace(), and std::basic_string< char >::replace().

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_string< _CharT, _Traits, _Alloc >::reserve size_type    __res_arg = 0
 

Definition at line 312 of file basic_string.tcc.

References std::__throw_length_error(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_clone(), std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_dispose(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_is_shared(), std::basic_string< _CharT, _Traits, _Alloc >::_M_rep(), std::basic_string< _CharT, _Traits, _Alloc >::allocator_type, std::basic_string< _CharT, _Traits, _Alloc >::capacity(), std::basic_string< _CharT, _Traits, _Alloc >::get_allocator(), std::basic_string< _CharT, _Traits, _Alloc >::max_size(), and std::basic_string< _CharT, _Traits, _Alloc >::size().

Referenced by std::basic_string< _CharT, _Traits, _Alloc >::append(), std::operator+(), and std::operator>>().

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_string< _CharT, _Traits, _Alloc >::resize size_type    __n [inline]
 

Definition at line 409 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_string< _CharT, _Traits, _Alloc >::resize size_type    __n,
_CharT    __c
 

Definition at line 422 of file basic_string.tcc.

References std::__throw_length_error(), std::basic_string< _CharT, _Traits, _Alloc >::append(), std::basic_string< _CharT, _Traits, _Alloc >::erase(), std::basic_string< _CharT, _Traits, _Alloc >::max_size(), std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

Referenced by std::basic_string< char >::resize().

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc >::size_type std::basic_string< _CharT, _Traits, _Alloc >::rfind _CharT    __c,
size_type    __pos = npos
const
 

Definition at line 648 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::rfind const _CharT *    __s,
size_type    __pos = npos
const [inline]
 

Definition at line 749 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc >::size_type std::basic_string< _CharT, _Traits, _Alloc >::rfind const _CharT *    __s,
size_type    __pos,
size_type    __n
const
 

Definition at line 628 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::min(), std::basic_string< _CharT, _Traits, _Alloc >::npos, std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::rfind const basic_string< _CharT, _Traits, _Alloc > &    __str,
size_type    __pos = npos
const [inline]
 

Definition at line 742 of file basic_string.h.

Referenced by std::basic_string< char >::find_last_of(), and std::basic_string< char >::rfind().

template<typename _CharT, typename _Traits, typename _Alloc>
size_type std::basic_string< _CharT, _Traits, _Alloc >::size   const [inline]
 

Definition at line 397 of file basic_string.h.

Referenced by std::__match_parallel(), std::basic_string< char >::_M_check(), std::bitset< _Nb >::_M_copy_from_string(), std::basic_string< char >::_M_fold(), std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::_S_string_copy(), std::basic_string< _CharT, _Traits, _Alloc >::append(), std::basic_string< char >::at(), std::bitset< _Nb >::bitset(), std::basic_string< char >::c_str(), std::basic_string< _CharT, _Traits, _Alloc >::compare(), std::basic_string< char >::compare(), std::basic_string< _CharT, _Traits, _Alloc >::copy(), std::basic_string< char >::empty(), std::basic_string< _CharT, _Traits, _Alloc >::find(), std::basic_string< char >::find(), std::basic_string< _CharT, _Traits, _Alloc >::find_first_not_of(), std::basic_string< char >::find_first_not_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_first_of(), std::basic_string< char >::find_first_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_last_not_of(), std::basic_string< char >::find_last_not_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_last_of(), std::basic_string< char >::find_last_of(), std::operator+(), std::basic_string< _CharT, _Traits, _Alloc >::replace(), std::basic_string< _CharT, _Traits, _Alloc >::reserve(), std::basic_string< _CharT, _Traits, _Alloc >::resize(), std::basic_string< _CharT, _Traits, _Alloc >::rfind(), std::basic_string< char >::rfind(), and std::basic_string< char >::substr().

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string std::basic_string< _CharT, _Traits, _Alloc >::substr size_type    __pos = 0,
size_type    __n = npos
const [inline]
 

Definition at line 815 of file basic_string.h.

template<typename _CharT, typename _Traits, typename _Alloc>
void std::basic_string< _CharT, _Traits, _Alloc >::swap basic_string< _CharT, _Traits, _Alloc > &    __s
 

Definition at line 329 of file basic_string.tcc.

References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::_M_ibegin(), std::basic_string< _CharT, _Traits, _Alloc >::_M_iend(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_is_leaked(), std::basic_string< _CharT, _Traits, _Alloc >::_M_rep(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_set_sharable(), and std::basic_string< _CharT, _Traits, _Alloc >::get_allocator().

Referenced by std::swap().


Member Data Documentation

template<typename _CharT, typename _Traits, typename _Alloc>
_Alloc_hider std::basic_string< _CharT, _Traits, _Alloc >::_M_dataplus [private]
 

Definition at line 230 of file basic_string.h.

Referenced by std::basic_string< char >::_M_data(), and std::basic_string< char >::get_allocator().

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string< _CharT, _Traits, _Alloc >::size_type std::basic_string< _CharT, _Traits, _Alloc >::_S_empty_rep_storage [static, private]
 

Definition at line 64 of file basic_string.tcc.

Referenced by std::basic_string< char >::_S_empty_rep().

template<typename _CharT, typename _Traits, typename _Alloc>
const basic_string< _CharT, _Traits, _Alloc >::size_type std::basic_string< _CharT, _Traits, _Alloc >::npos = static_cast<size_type>(-1) [static]
 

Definition at line 57 of file basic_string.tcc.

Referenced by std::basic_string< char >::erase(), std::basic_string< _CharT, _Traits, _Alloc >::find(), std::basic_string< _CharT, _Traits, _Alloc >::find_first_not_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_first_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_last_not_of(), std::basic_string< char >::find_last_not_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_last_of(), std::basic_string< char >::find_last_of(), std::basic_string< _CharT, _Traits, _Alloc >::rfind(), std::basic_string< char >::rfind(), and std::basic_string< char >::substr().


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