ReactOS  0.4.12-dev-51-ge94618b
__bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection > Class Template Reference

#include <_string_sum.h>

Public Types

typedef basic_string< _CharT, _Traits, _Alloc_BString
 
typedef _BString::const_reference const_reference
 
typedef _BString::const_iterator const_iterator
 
typedef _BString::const_reverse_iterator const_reverse_iterator
 
typedef _BString::size_type size_type
 
typedef _BString::allocator_type allocator_type
 
typedef __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection > _Self
 
typedef __bstr_sum< _CharT, _Traits, _Alloc, _Self, __bstr_wrapper< _CharT, _Traits, _Alloc >, __on_left_BStrOnLeft
 
typedef __bstr_sum< _CharT, _Traits, _Alloc, _Self, __cstr_wrapper< _CharT >, __on_left_CStrOnLeft
 
typedef __bstr_sum< _CharT, _Traits, _Alloc, _Self, __char_wrapper< _CharT >, __on_left_CharOnLeft
 

Public Member Functions

 __bstr_sum (_Left const &lhs, _Right const &rhs)
 
_Left constgetLhs () const
 
_Right constgetRhs () const
 
allocator_type get_allocator () const
 
const_iterator begin () const
 
const_iterator end () const
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
size_type size () const
 
size_type length () const
 
size_t max_size () const
 
size_type capacity () const
 
bool empty () const
 
const_reference operator[] (size_t __n) const
 
const_reference at (size_type __n) const
 
_BStrOnLeft operator+= (const _BString &__s)
 
_CStrOnLeft operator+= (const _CharT *__s)
 
_CharOnLeft operator+= (_CharT __c)
 
_BStrOnLeft append (const _BString &__s)
 
_BStringappend (const _BString &__s, size_type __pos, size_type __n)
 
_CStrOnLeft append (const _CharT *__s)
 
_CStrOnLeft append (const _CharT *__s, size_type __n)
 
_BStringappend (size_type __n, _CharT __c)
 
template<class _InputIter >
_BStringappend (_InputIter __first, _InputIter __last)
 
_BStringassign (const _BString &__s)
 
_BStringassign (const _BString &__s, size_type __pos, size_type __n)
 
_BStringassign (const _CharT *__s, size_type __n)
 
_BStringassign (const _CharT *__s)
 
_BStringassign (size_type __n, _CharT __c)
 
_BStringinsert (size_type __pos, const _BString &__s)
 
_BStringinsert (size_type __pos, const _BString &__s, size_type __beg, size_type __n)
 
_BStringinsert (size_type __pos, const _CharT *__s, size_type __n)
 
_BStringinsert (size_type __pos, const _CharT *__s)
 
_BStringinsert (size_type __pos, size_type __n, _CharT __c)
 
_BStringerase (size_type __pos=0, size_type __n=_BString::npos)
 
_BStringreplace (size_type __pos, size_type __n, const _BString &__s)
 
_BStringreplace (size_type __pos1, size_type __n1, const _BString &__s, size_type __pos2, size_type __n2)
 
_BStringreplace (size_type __pos, size_type __n1, const _CharT *__s, size_type __n2)
 
_BStringreplace (size_type __pos, size_type __n1, const _CharT *__s)
 
_BStringreplace (size_type __pos, size_type __n1, size_type __n2, _CharT __c)
 
size_type copy (_CharT *__s, size_type __n, size_type __pos=0) const
 
void swap (_BString &__s)
 
const _CharT * c_str () const
 
const _CharT * data () const
 
size_type find (const _BString &__s, size_type __pos=0) const
 
size_type find (const _CharT *__s, size_type __pos=0) const
 
size_type find (const _CharT *__s, size_type __pos, size_type __n) const
 
size_type find (_CharT __c, size_type __pos=0) const
 
size_type rfind (const _BString &__s, size_type __pos=_BString::npos) const
 
size_type rfind (const _CharT *__s, size_type __pos=_BString::npos) const
 
size_type rfind (const _CharT *__s, size_type __pos, size_type __n) const
 
size_type rfind (_CharT __c, size_type __pos=_BString::npos) const
 
size_type find_first_of (const _BString &__s, size_type __pos=0) const
 
size_type find_first_of (const _CharT *__s, 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 (_CharT __c, size_type __pos=0) const
 
size_type find_last_of (const _BString &__s, size_type __pos=_BString::npos) const
 
size_type find_last_of (const _CharT *__s, size_type __pos=_BString::npos) const
 
size_type find_last_of (const _CharT *__s, size_type __pos, size_type __n) const
 
size_type find_last_of (_CharT __c, size_type __pos=_BString::npos) const
 
size_type find_first_not_of (const _BString &__s, size_type __pos=0) const
 
size_type find_first_not_of (const _CharT *__s, 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 (_CharT __c, size_type __pos=0) const
 
size_type find_last_not_of (const _BString &__s, size_type __pos=_BString::npos) const
 
size_type find_last_not_of (const _CharT *__s, size_type __pos=_BString::npos) const
 
size_type find_last_not_of (const _CharT *__s, size_type __pos, size_type __n) const
 
size_type find_last_not_of (_CharT __c, size_type __pos=_BString::npos) const
 
_BString substr (size_type __pos=0, size_type __n=_BString::npos) const
 
int compare (const _BString &__s) const
 
int compare (size_type __pos1, size_type __n1, const _Self &__s) const
 
int compare (size_type __pos1, size_type __n1, const _Self &__s, size_type __pos2, size_type __n2) const
 
int compare (const _CharT *__s) const
 
int compare (size_type __pos1, size_type __n1, const _CharT *__s) const
 
int compare (size_type __pos1, size_type __n1, const _CharT *__s, size_type __n2) const
 
_BString_M_get_storage ()
 
template<class _Lhs , class _Rhs , class _StorageDir >
_BString_M_get_storage (__bstr_sum< _CharT, _Traits, _Alloc, _Lhs, _Rhs, _StorageDir > const &__ref, __on_left const &)
 
template<class _Lhs , class _Rhs , class _StorageDir >
_BString_M_get_storage (__bstr_sum< _CharT, _Traits, _Alloc, _Lhs, _Rhs, _StorageDir > const &__ref, __on_right const &)
 
template<class _Lhs , class _Rhs , class _StorageDir >
_BString_M_get_storage (__bstr_sum< _CharT, _Traits, _Alloc, _Lhs, _Rhs, _StorageDir > const &__ref)
 
_BString const_M_get_storage (bool __do_init=true) const
 
template<class _Lhs , class _Rhs , class _StorageDir >
_BString const_M_get_storage (__bstr_sum< _CharT, _Traits, _Alloc, _Lhs, _Rhs, _StorageDir > const &__ref, bool __do_init, __on_left const &) const
 
template<class _Lhs , class _Rhs , class _StorageDir >
_BString const_M_get_storage (__bstr_sum< _CharT, _Traits, _Alloc, _Lhs, _Rhs, _StorageDir > const &__ref, bool __do_init, __on_right const &) const
 
template<class _Lhs , class _Rhs , class _StorageDir >
_BString const_M_get_storage (__bstr_sum< _CharT, _Traits, _Alloc, _Lhs, _Rhs, _StorageDir > const &__ref, bool __do_init) const
 

Private Attributes

_Left _lhs
 
_Right _rhs
 

Detailed Description

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
class __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >

Definition at line 86 of file _string_sum.h.

Member Typedef Documentation

◆ _BString

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
typedef basic_string<_CharT, _Traits, _Alloc> __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::_BString

Definition at line 88 of file _string_sum.h.

◆ _BStrOnLeft

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
typedef __bstr_sum<_CharT, _Traits, _Alloc, _Self, __bstr_wrapper<_CharT, _Traits, _Alloc>, __on_left> __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::_BStrOnLeft

Definition at line 123 of file _string_sum.h.

◆ _CharOnLeft

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
typedef __bstr_sum<_CharT, _Traits, _Alloc, _Self, __char_wrapper<_CharT>, __on_left> __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::_CharOnLeft

Definition at line 129 of file _string_sum.h.

◆ _CStrOnLeft

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
typedef __bstr_sum<_CharT, _Traits, _Alloc, _Self, __cstr_wrapper<_CharT>, __on_left> __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::_CStrOnLeft

Definition at line 126 of file _string_sum.h.

◆ _Self

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
typedef __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection> __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::_Self

Definition at line 94 of file _string_sum.h.

◆ allocator_type

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
typedef _BString::allocator_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::allocator_type

Definition at line 93 of file _string_sum.h.

◆ const_iterator

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
typedef _BString::const_iterator __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::const_iterator

Definition at line 90 of file _string_sum.h.

◆ const_reference

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
typedef _BString::const_reference __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::const_reference

Definition at line 89 of file _string_sum.h.

◆ const_reverse_iterator

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
typedef _BString::const_reverse_iterator __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::const_reverse_iterator

Definition at line 91 of file _string_sum.h.

◆ size_type

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
typedef _BString::size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::size_type

Definition at line 92 of file _string_sum.h.

Constructor & Destructor Documentation

◆ __bstr_sum()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
__bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::__bstr_sum ( _Left const lhs,
_Right const rhs 
)
inline

Definition at line 96 of file _string_sum.h.

96  :
97  _lhs(lhs), _rhs(rhs) {}
_Left _lhs
Definition: _string_sum.h:291
_Right _rhs
Definition: _string_sum.h:292

Member Function Documentation

◆ _M_get_storage() [1/8]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::_M_get_storage ( )
inline

Definition at line 254 of file _string_sum.h.

Referenced by operator<(), and operator==().

255  { return _rhs._M_get_storage(*this, _StorageDirection()); }
_Right _rhs
Definition: _string_sum.h:292

◆ _M_get_storage() [2/8]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
template<class _Lhs , class _Rhs , class _StorageDir >
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::_M_get_storage ( __bstr_sum< _CharT, _Traits, _Alloc, _Lhs, _Rhs, _StorageDir > const __ref,
__on_left const  
)
inline

Definition at line 258 of file _string_sum.h.

260  { return _lhs._M_get_storage(__ref); }
_Left _lhs
Definition: _string_sum.h:291

◆ _M_get_storage() [3/8]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
template<class _Lhs , class _Rhs , class _StorageDir >
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::_M_get_storage ( __bstr_sum< _CharT, _Traits, _Alloc, _Lhs, _Rhs, _StorageDir > const __ref,
__on_right const  
)
inline

Definition at line 263 of file _string_sum.h.

265  { return _rhs._M_get_storage(__ref); }
_Right _rhs
Definition: _string_sum.h:292

◆ _M_get_storage() [4/8]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
template<class _Lhs , class _Rhs , class _StorageDir >
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::_M_get_storage ( __bstr_sum< _CharT, _Traits, _Alloc, _Lhs, _Rhs, _StorageDir > const __ref)
inline

Definition at line 268 of file _string_sum.h.

269  { return _M_get_storage(__ref, _StorageDirection()); }
_BString & _M_get_storage()
Definition: _string_sum.h:254

◆ _M_get_storage() [5/8]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString const& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::_M_get_storage ( bool  __do_init = true) const
inline

Definition at line 272 of file _string_sum.h.

273  { return _M_get_storage(*this, __do_init, _StorageDirection()); }
_BString & _M_get_storage()
Definition: _string_sum.h:254

◆ _M_get_storage() [6/8]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
template<class _Lhs , class _Rhs , class _StorageDir >
_BString const& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::_M_get_storage ( __bstr_sum< _CharT, _Traits, _Alloc, _Lhs, _Rhs, _StorageDir > const __ref,
bool  __do_init,
__on_left const  
) const
inline

Definition at line 276 of file _string_sum.h.

278  { return _lhs._M_get_storage(__ref, __do_init); }
_Left _lhs
Definition: _string_sum.h:291

◆ _M_get_storage() [7/8]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
template<class _Lhs , class _Rhs , class _StorageDir >
_BString const& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::_M_get_storage ( __bstr_sum< _CharT, _Traits, _Alloc, _Lhs, _Rhs, _StorageDir > const __ref,
bool  __do_init,
__on_right const  
) const
inline

Definition at line 281 of file _string_sum.h.

283  { return _rhs._M_get_storage(__ref, __do_init); }
_Right _rhs
Definition: _string_sum.h:292

◆ _M_get_storage() [8/8]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
template<class _Lhs , class _Rhs , class _StorageDir >
_BString const& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::_M_get_storage ( __bstr_sum< _CharT, _Traits, _Alloc, _Lhs, _Rhs, _StorageDir > const __ref,
bool  __do_init 
) const
inline

Definition at line 286 of file _string_sum.h.

288  { return _M_get_storage(__ref, __do_init, _StorageDirection()); }
_BString & _M_get_storage()
Definition: _string_sum.h:254

◆ append() [1/6]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BStrOnLeft __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::append ( const _BString __s)
inline

Definition at line 133 of file _string_sum.h.

134  { return _BStrOnLeft(*this, __s); }
__bstr_sum< _CharT, _Traits, _Alloc, _Self, __bstr_wrapper< _CharT, _Traits, _Alloc >, __on_left > _BStrOnLeft
Definition: _string_sum.h:123

◆ append() [2/6]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::append ( const _BString __s,
size_type  __pos,
size_type  __n 
)
inline

Definition at line 135 of file _string_sum.h.

136  { return _M_get_storage().append(__s, __pos, __n); }
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
_Self & append(const _CharT *__first, const _CharT *__last)
Definition: _string.h:509

◆ append() [3/6]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_CStrOnLeft __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::append ( const _CharT *  __s)
inline

Definition at line 137 of file _string_sum.h.

137  {
138  const size_type __n = _Traits::length(__s);
139  return _CStrOnLeft(*this, __cstr_wrapper<_CharT>(__s, __n));
140  }
return __n
Definition: _algo.h:75
_BString::size_type size_type
Definition: _string_sum.h:92
GLenum GLuint GLenum GLsizei length
Definition: glext.h:5579
__bstr_sum< _CharT, _Traits, _Alloc, _Self, __cstr_wrapper< _CharT >, __on_left > _CStrOnLeft
Definition: _string_sum.h:126

◆ append() [4/6]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_CStrOnLeft __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::append ( const _CharT *  __s,
size_type  __n 
)
inline

Definition at line 141 of file _string_sum.h.

142  { return _CStrOnLeft(*this, __cstr_wrapper<_CharT>(__s, __n)); }
return __n
Definition: _algo.h:75
__bstr_sum< _CharT, _Traits, _Alloc, _Self, __cstr_wrapper< _CharT >, __on_left > _CStrOnLeft
Definition: _string_sum.h:126

◆ append() [5/6]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::append ( size_type  __n,
_CharT  __c 
)
inline

Definition at line 143 of file _string_sum.h.

144  {return _M_get_storage().append(__n, __c);}
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
#define __c
Definition: schilyio.h:209
_Self & append(const _CharT *__first, const _CharT *__last)
Definition: _string.h:509

◆ append() [6/6]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
template<class _InputIter >
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::append ( _InputIter  __first,
_InputIter  __last 
)
inline

Definition at line 146 of file _string_sum.h.

147  {return _M_get_storage().append(__first, __last);}
_BString & _M_get_storage()
Definition: _string_sum.h:254
_STLP_INLINE_LOOP _InputIter __last
Definition: _algo.h:68
_Self & append(const _CharT *__first, const _CharT *__last)
Definition: _string.h:509

◆ assign() [1/5]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::assign ( const _BString __s)
inline

Definition at line 150 of file _string_sum.h.

150 {return _M_get_storage().assign(__s);}
_BString & _M_get_storage()
Definition: _string_sum.h:254
_Self & assign(const _Self &__s)
Definition: _string.h:548

◆ assign() [2/5]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::assign ( const _BString __s,
size_type  __pos,
size_type  __n 
)
inline

Definition at line 151 of file _string_sum.h.

151 {return _M_get_storage().assign(__s, __pos, __n);}
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
_Self & assign(const _Self &__s)
Definition: _string.h:548

◆ assign() [3/5]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::assign ( const _CharT *  __s,
size_type  __n 
)
inline

Definition at line 152 of file _string_sum.h.

152 {return _M_get_storage().assign(__s, __n);}
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
_Self & assign(const _Self &__s)
Definition: _string.h:548

◆ assign() [4/5]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::assign ( const _CharT *  __s)
inline

Definition at line 153 of file _string_sum.h.

153 {return _M_get_storage().assign(__s); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
_Self & assign(const _Self &__s)
Definition: _string.h:548

◆ assign() [5/5]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::assign ( size_type  __n,
_CharT  __c 
)
inline

Definition at line 154 of file _string_sum.h.

154 {return _M_get_storage().assign(__n, __c);}
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
#define __c
Definition: schilyio.h:209
_Self & assign(const _Self &__s)
Definition: _string.h:548

◆ at()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
const_reference __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::at ( size_type  __n) const
inline

Definition at line 119 of file _string_sum.h.

120  { return _M_get_storage().at(__n); }
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
const_reference at(size_type __n) const
Definition: _string.h:437

◆ begin()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
const_iterator __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::begin ( ) const
inline

Definition at line 104 of file _string_sum.h.

104 { return _M_get_storage().begin(); }
iterator begin()
Definition: _string.h:385
_BString & _M_get_storage()
Definition: _string_sum.h:254

◆ c_str()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
const _CharT* __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::c_str ( ) const
inline

Definition at line 185 of file _string_sum.h.

185 { return _M_get_storage().c_str(); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
const _CharT * c_str() const
Definition: _string.h:949

◆ capacity()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::capacity ( ) const
inline

Definition at line 113 of file _string_sum.h.

113 { return size(); }
size_type size() const
Definition: _string_sum.h:109

◆ compare() [1/6]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
int __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::compare ( const _BString __s) const
inline

Definition at line 239 of file _string_sum.h.

240  { return _M_get_storage().compare(__s); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
int compare(const _Self &__s) const
Definition: _string.h:1026

◆ compare() [2/6]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
int __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::compare ( size_type  __pos1,
size_type  __n1,
const _Self __s 
) const
inline

Definition at line 241 of file _string_sum.h.

242  { return _M_get_storage().compare(__pos1, __n1, __s); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
int compare(const _Self &__s) const
Definition: _string.h:1026

◆ compare() [3/6]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
int __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::compare ( size_type  __pos1,
size_type  __n1,
const _Self __s,
size_type  __pos2,
size_type  __n2 
) const
inline

Definition at line 243 of file _string_sum.h.

244  { return _M_get_storage().compare(__pos1, __n1, __s, __pos2, __n2); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
int compare(const _Self &__s) const
Definition: _string.h:1026

◆ compare() [4/6]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
int __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::compare ( const _CharT *  __s) const
inline

Definition at line 245 of file _string_sum.h.

246  { return _M_get_storage().compare(__s); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
int compare(const _Self &__s) const
Definition: _string.h:1026

◆ compare() [5/6]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
int __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::compare ( size_type  __pos1,
size_type  __n1,
const _CharT *  __s 
) const
inline

Definition at line 247 of file _string_sum.h.

248  { return _M_get_storage().compare(__pos1, __n1, __s); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
int compare(const _Self &__s) const
Definition: _string.h:1026

◆ compare() [6/6]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
int __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::compare ( size_type  __pos1,
size_type  __n1,
const _CharT *  __s,
size_type  __n2 
) const
inline

Definition at line 249 of file _string_sum.h.

250  { return _M_get_storage().compare(__pos1, __n1, __s, __n2); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
int compare(const _Self &__s) const
Definition: _string.h:1026

◆ copy()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::copy ( _CharT *  __s,
size_type  __n,
size_type  __pos = 0 
) const
inline

Definition at line 179 of file _string_sum.h.

180  {return _M_get_storage().copy(__s, __n, __pos);}
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type copy(_CharT *__s, size_type __n, size_type __pos=0) const
Definition: _string.h:933

◆ data()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
const _CharT* __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::data ( ) const
inline

Definition at line 186 of file _string_sum.h.

186 { return _M_get_storage().data(); }
const _CharT * data() const
Definition: _string.h:950
_BString & _M_get_storage()
Definition: _string_sum.h:254

◆ empty()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
bool __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::empty ( ) const
inline

Definition at line 114 of file _string_sum.h.

114 { return size() == 0; }
size_type size() const
Definition: _string_sum.h:109

◆ end()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
const_iterator __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::end ( ) const
inline

Definition at line 105 of file _string_sum.h.

105 { return _M_get_storage().end(); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
iterator end()
Definition: _string.h:386

◆ erase()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::erase ( size_type  __pos = 0,
size_type  __n = _BString::npos 
)
inline

Definition at line 165 of file _string_sum.h.

165 {return _M_get_storage().erase(__pos, __n);}
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
_Self & erase(size_type __pos=0, size_type __n=npos)
Definition: _string.h:788

◆ find() [1/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find ( const _BString __s,
size_type  __pos = 0 
) const
inline

Definition at line 189 of file _string_sum.h.

189 { return _M_get_storage().find(__s, __pos); }
size_type find(const _Self &__s, size_type __pos=0) const
Definition: _string.h:953
_BString & _M_get_storage()
Definition: _string_sum.h:254

◆ find() [2/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find ( const _CharT *  __s,
size_type  __pos = 0 
) const
inline

Definition at line 190 of file _string_sum.h.

190 { return _M_get_storage().find(__s, __pos); }
size_type find(const _Self &__s, size_type __pos=0) const
Definition: _string.h:953
_BString & _M_get_storage()
Definition: _string_sum.h:254

◆ find() [3/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find ( const _CharT *  __s,
size_type  __pos,
size_type  __n 
) const
inline

Definition at line 191 of file _string_sum.h.

191 { return _M_get_storage().find(__s, __pos, __n); }
return __n
Definition: _algo.h:75
size_type find(const _Self &__s, size_type __pos=0) const
Definition: _string.h:953
_BString & _M_get_storage()
Definition: _string_sum.h:254

◆ find() [4/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find ( _CharT  __c,
size_type  __pos = 0 
) const
inline

Definition at line 192 of file _string_sum.h.

192 { return _M_get_storage().find(__c, __pos); }
size_type find(const _Self &__s, size_type __pos=0) const
Definition: _string.h:953
_BString & _M_get_storage()
Definition: _string_sum.h:254
#define __c
Definition: schilyio.h:209

◆ find_first_not_of() [1/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_first_not_of ( const _BString __s,
size_type  __pos = 0 
) const
inline

Definition at line 217 of file _string_sum.h.

218  { return _M_get_storage().find_first_not_of(__s, __pos); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type find_first_not_of(const _Self &__s, size_type __pos=0) const
Definition: _string.h:1000

◆ find_first_not_of() [2/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_first_not_of ( const _CharT *  __s,
size_type  __pos = 0 
) const
inline

Definition at line 219 of file _string_sum.h.

220  { return _M_get_storage().find_first_not_of(__s, __pos); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type find_first_not_of(const _Self &__s, size_type __pos=0) const
Definition: _string.h:1000

◆ find_first_not_of() [3/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_first_not_of ( const _CharT *  __s,
size_type  __pos,
size_type  __n 
) const
inline

Definition at line 221 of file _string_sum.h.

222  { return _M_get_storage().find_first_not_of(__s, __pos, __n); }
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type find_first_not_of(const _Self &__s, size_type __pos=0) const
Definition: _string.h:1000

◆ find_first_not_of() [4/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_first_not_of ( _CharT  __c,
size_type  __pos = 0 
) const
inline

Definition at line 223 of file _string_sum.h.

224  { return _M_get_storage().find_first_not_of(__c, __pos); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
#define __c
Definition: schilyio.h:209
size_type find_first_not_of(const _Self &__s, size_type __pos=0) const
Definition: _string.h:1000

◆ find_first_of() [1/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_first_of ( const _BString __s,
size_type  __pos = 0 
) const
inline

Definition at line 199 of file _string_sum.h.

200  { return _M_get_storage().find_first_of(__s, __pos); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type find_first_of(const _Self &__s, size_type __pos=0) const
Definition: _string.h:976

◆ find_first_of() [2/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_first_of ( const _CharT *  __s,
size_type  __pos = 0 
) const
inline

Definition at line 201 of file _string_sum.h.

202  { return _M_get_storage().find_first_of(__s, __pos); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type find_first_of(const _Self &__s, size_type __pos=0) const
Definition: _string.h:976

◆ find_first_of() [3/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_first_of ( const _CharT *  __s,
size_type  __pos,
size_type  __n 
) const
inline

Definition at line 203 of file _string_sum.h.

204  { return _M_get_storage().find_first_of(__s, __pos, __n); }
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type find_first_of(const _Self &__s, size_type __pos=0) const
Definition: _string.h:976

◆ find_first_of() [4/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_first_of ( _CharT  __c,
size_type  __pos = 0 
) const
inline

Definition at line 205 of file _string_sum.h.

206  { return _M_get_storage().find(__c, __pos); }
size_type find(const _Self &__s, size_type __pos=0) const
Definition: _string.h:953
_BString & _M_get_storage()
Definition: _string_sum.h:254
#define __c
Definition: schilyio.h:209

◆ find_last_not_of() [1/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_last_not_of ( const _BString __s,
size_type  __pos = _BString::npos 
) const
inline

Definition at line 226 of file _string_sum.h.

227  { return _M_get_storage().find_last_not_of(__s, __pos); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type find_last_not_of(const _Self &__s, size_type __pos=npos) const
Definition: _string.h:1011

◆ find_last_not_of() [2/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_last_not_of ( const _CharT *  __s,
size_type  __pos = _BString:: npos 
) const
inline

Definition at line 228 of file _string_sum.h.

229  { return _M_get_storage().find_last_not_of(__s, __pos); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type find_last_not_of(const _Self &__s, size_type __pos=npos) const
Definition: _string.h:1011

◆ find_last_not_of() [3/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_last_not_of ( const _CharT *  __s,
size_type  __pos,
size_type  __n 
) const
inline

Definition at line 230 of file _string_sum.h.

231  { return _M_get_storage().find_last_not_of(__s, __pos, __n); }
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type find_last_not_of(const _Self &__s, size_type __pos=npos) const
Definition: _string.h:1011

◆ find_last_not_of() [4/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_last_not_of ( _CharT  __c,
size_type  __pos = _BString::npos 
) const
inline

Definition at line 232 of file _string_sum.h.

233  { return _M_get_storage().find_last_not_of(__c, __pos); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
#define __c
Definition: schilyio.h:209
size_type find_last_not_of(const _Self &__s, size_type __pos=npos) const
Definition: _string.h:1011

◆ find_last_of() [1/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_last_of ( const _BString __s,
size_type  __pos = _BString::npos 
) const
inline

Definition at line 208 of file _string_sum.h.

209  { return _M_get_storage().find_last_of(__s, __pos); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type find_last_of(const _Self &__s, size_type __pos=npos) const
Definition: _string.h:988

◆ find_last_of() [2/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_last_of ( const _CharT *  __s,
size_type  __pos = _BString::npos 
) const
inline

Definition at line 210 of file _string_sum.h.

211  { return _M_get_storage().find_last_of(__s, __pos); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type find_last_of(const _Self &__s, size_type __pos=npos) const
Definition: _string.h:988

◆ find_last_of() [3/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_last_of ( const _CharT *  __s,
size_type  __pos,
size_type  __n 
) const
inline

Definition at line 212 of file _string_sum.h.

213  { return _M_get_storage().find_last_of(__s, __pos, __n); }
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type find_last_of(const _Self &__s, size_type __pos=npos) const
Definition: _string.h:988

◆ find_last_of() [4/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::find_last_of ( _CharT  __c,
size_type  __pos = _BString::npos 
) const
inline

Definition at line 214 of file _string_sum.h.

215  { return _M_get_storage().rfind(__c, __pos); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
#define __c
Definition: schilyio.h:209
size_type rfind(const _Self &__s, size_type __pos=npos) const
Definition: _string.h:966

◆ get_allocator()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
allocator_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::get_allocator ( ) const
inline

Definition at line 102 of file _string_sum.h.

102 { return _M_get_storage(false).get_allocator(); }
allocator_type get_allocator() const
Definition: _string.h:154
_BString & _M_get_storage()
Definition: _string_sum.h:254

◆ getLhs()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_Left const& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::getLhs ( ) const
inline

Definition at line 99 of file _string_sum.h.

99 { return _lhs; }
_Left _lhs
Definition: _string_sum.h:291

◆ getRhs()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_Right const& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::getRhs ( ) const
inline

Definition at line 100 of file _string_sum.h.

100 { return _rhs; }
_Right _rhs
Definition: _string_sum.h:292

◆ insert() [1/5]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::insert ( size_type  __pos,
const _BString __s 
)
inline

Definition at line 157 of file _string_sum.h.

157 {return _M_get_storage().insert(__pos, __s);}
_BString & _M_get_storage()
Definition: _string_sum.h:254
_Self & insert(size_type __pos, const _Self &__s)
Definition: _string.h:608

◆ insert() [2/5]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::insert ( size_type  __pos,
const _BString __s,
size_type  __beg,
size_type  __n 
)
inline

Definition at line 158 of file _string_sum.h.

159  {return _M_get_storage().insert(__pos, __s, __beg, __n);}
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
_Self & insert(size_type __pos, const _Self &__s)
Definition: _string.h:608

◆ insert() [3/5]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::insert ( size_type  __pos,
const _CharT *  __s,
size_type  __n 
)
inline

Definition at line 160 of file _string_sum.h.

160 {return _M_get_storage().insert(__pos, __s, __n);}
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
_Self & insert(size_type __pos, const _Self &__s)
Definition: _string.h:608

◆ insert() [4/5]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::insert ( size_type  __pos,
const _CharT *  __s 
)
inline

Definition at line 161 of file _string_sum.h.

161 {return _M_get_storage().insert(__pos, __s);}
_BString & _M_get_storage()
Definition: _string_sum.h:254
_Self & insert(size_type __pos, const _Self &__s)
Definition: _string.h:608

◆ insert() [5/5]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::insert ( size_type  __pos,
size_type  __n,
_CharT  __c 
)
inline

Definition at line 162 of file _string_sum.h.

162 {return _M_get_storage().insert(__pos, __n, __c);}
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
#define __c
Definition: schilyio.h:209
_Self & insert(size_type __pos, const _Self &__s)
Definition: _string.h:608

◆ length()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::length ( ) const
inline

Definition at line 110 of file _string_sum.h.

110 { return size(); }
size_type size() const
Definition: _string_sum.h:109

◆ max_size()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_t __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::max_size ( ) const
inline

Definition at line 112 of file _string_sum.h.

112 { return _M_get_storage().max_size(); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type max_size() const
Definition: _string.h:402

◆ operator+=() [1/3]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BStrOnLeft __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::operator+= ( const _BString __s)
inline

Definition at line 124 of file _string_sum.h.

124 { return append(__s); }
_BStrOnLeft append(const _BString &__s)
Definition: _string_sum.h:133

◆ operator+=() [2/3]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_CStrOnLeft __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::operator+= ( const _CharT *  __s)
inline

Definition at line 127 of file _string_sum.h.

127 { return append(__s); }
_BStrOnLeft append(const _BString &__s)
Definition: _string_sum.h:133

◆ operator+=() [3/3]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_CharOnLeft __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::operator+= ( _CharT  __c)
inline

Definition at line 130 of file _string_sum.h.

130 { return _CharOnLeft(*this, __c); }
__bstr_sum< _CharT, _Traits, _Alloc, _Self, __char_wrapper< _CharT >, __on_left > _CharOnLeft
Definition: _string_sum.h:129
#define __c
Definition: schilyio.h:209

◆ operator[]()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
const_reference __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::operator[] ( size_t  __n) const
inline

Definition at line 116 of file _string_sum.h.

117  { return (__n < _lhs.size())?_lhs[__n]:_rhs[__n - _lhs.size()]; }
return __n
Definition: _algo.h:75
_Left _lhs
Definition: _string_sum.h:291
_Right _rhs
Definition: _string_sum.h:292

◆ rbegin()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
const_reverse_iterator __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::rbegin ( ) const
inline

Definition at line 106 of file _string_sum.h.

106 { return _M_get_storage().rbegin(); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
reverse_iterator rbegin()
Definition: _string.h:390

◆ rend()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
const_reverse_iterator __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::rend ( ) const
inline

Definition at line 107 of file _string_sum.h.

107 { return _M_get_storage().rend(); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
reverse_iterator rend()
Definition: _string.h:392

◆ replace() [1/5]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::replace ( size_type  __pos,
size_type  __n,
const _BString __s 
)
inline

Definition at line 168 of file _string_sum.h.

169  {return _M_get_storage().replace(__pos, __n, __s);}
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
_Self & replace(size_type __pos, size_type __n, const _Self &__s)
Definition: _string.h:813

◆ replace() [2/5]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::replace ( size_type  __pos1,
size_type  __n1,
const _BString __s,
size_type  __pos2,
size_type  __n2 
)
inline

Definition at line 170 of file _string_sum.h.

171  {return _M_get_storage().replace(__pos1, __n1, __s, __pos2, __n2);}
_BString & _M_get_storage()
Definition: _string_sum.h:254
_Self & replace(size_type __pos, size_type __n, const _Self &__s)
Definition: _string.h:813

◆ replace() [3/5]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::replace ( size_type  __pos,
size_type  __n1,
const _CharT *  __s,
size_type  __n2 
)
inline

Definition at line 172 of file _string_sum.h.

173  {return _M_get_storage().replace(__pos, __n1, __s, __n2);}
_BString & _M_get_storage()
Definition: _string_sum.h:254
_Self & replace(size_type __pos, size_type __n, const _Self &__s)
Definition: _string.h:813

◆ replace() [4/5]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::replace ( size_type  __pos,
size_type  __n1,
const _CharT *  __s 
)
inline

Definition at line 174 of file _string_sum.h.

175  {return _M_get_storage().replace(__pos, __n1, __s);}
_BString & _M_get_storage()
Definition: _string_sum.h:254
_Self & replace(size_type __pos, size_type __n, const _Self &__s)
Definition: _string.h:813

◆ replace() [5/5]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString& __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::replace ( size_type  __pos,
size_type  __n1,
size_type  __n2,
_CharT  __c 
)
inline

Definition at line 176 of file _string_sum.h.

177  {return _M_get_storage().replace(__pos, __n1, __n2, __c);}
_BString & _M_get_storage()
Definition: _string_sum.h:254
#define __c
Definition: schilyio.h:209
_Self & replace(size_type __pos, size_type __n, const _Self &__s)
Definition: _string.h:813

◆ rfind() [1/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::rfind ( const _BString __s,
size_type  __pos = _BString::npos 
) const
inline

Definition at line 194 of file _string_sum.h.

194 { return _M_get_storage().rfind(__s, __pos); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type rfind(const _Self &__s, size_type __pos=npos) const
Definition: _string.h:966

◆ rfind() [2/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::rfind ( const _CharT *  __s,
size_type  __pos = _BString::npos 
) const
inline

Definition at line 195 of file _string_sum.h.

195 { return _M_get_storage().rfind(__s, __pos); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type rfind(const _Self &__s, size_type __pos=npos) const
Definition: _string.h:966

◆ rfind() [3/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::rfind ( const _CharT *  __s,
size_type  __pos,
size_type  __n 
) const
inline

Definition at line 196 of file _string_sum.h.

196 { return _M_get_storage().rfind(__s, __pos, __n); }
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
size_type rfind(const _Self &__s, size_type __pos=npos) const
Definition: _string.h:966

◆ rfind() [4/4]

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::rfind ( _CharT  __c,
size_type  __pos = _BString::npos 
) const
inline

Definition at line 197 of file _string_sum.h.

197 { return _M_get_storage().rfind(__c, __pos); }
_BString & _M_get_storage()
Definition: _string_sum.h:254
#define __c
Definition: schilyio.h:209
size_type rfind(const _Self &__s, size_type __pos=npos) const
Definition: _string.h:966

◆ size()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
size_type __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::size ( ) const
inline

Definition at line 109 of file _string_sum.h.

Referenced by operator==().

109 { return _lhs.size() + _rhs.size(); }
_Left _lhs
Definition: _string_sum.h:291
_Right _rhs
Definition: _string_sum.h:292

◆ substr()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_BString __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::substr ( size_type  __pos = 0,
size_type  __n = _BString::npos 
) const
inline

Definition at line 235 of file _string_sum.h.

236  { return _M_get_storage().substr(__pos, __n); }
return __n
Definition: _algo.h:75
_BString & _M_get_storage()
Definition: _string_sum.h:254
_Self substr(size_type __pos=0, size_type __n=npos) const
Definition: _string.h:1022

◆ swap()

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
void __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::swap ( _BString __s)
inline

Definition at line 182 of file _string_sum.h.

183  {_M_get_storage().swap(__s);}
_BString & _M_get_storage()
Definition: _string_sum.h:254
void swap(_Self &__s)
Definition: _string.h:942

Member Data Documentation

◆ _lhs

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_Left __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::_lhs
private

Definition at line 291 of file _string_sum.h.

◆ _rhs

template<class _CharT, class _Traits, class _Alloc, class _Left, class _Right, class _StorageDirection>
_Right __bstr_sum< _CharT, _Traits, _Alloc, _Left, _Right, _StorageDirection >::_rhs
private

Definition at line 292 of file _string_sum.h.


The documentation for this class was generated from the following file: