template<typename _CharT, typename _Traits, typename _Alloc, template< typename, typename, typename > class _Base>
| __versa_string< _CharT, _Traits, _Alloc, _Base > __gnu_cxx::operator+ |
( |
const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __lhs, |
|
|
const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __rhs ) |
Concatenate two strings.
- Parameters
-
| __lhs | First string. |
| __rhs | Last string. |
- Returns
- New string with value of __lhs followed by __rhs.
Definition at line 185 of file vstring.tcc.
187 {
192 return __str;
193 }
__versa_string & append(const __versa_string &__str)
Append a string to this string.
size_type size() const noexcept
Returns the number of characters in the string, not including any null-termination.
void reserve(size_type __res_arg=0)
Attempt to preallocate enough memory for specified number of characters.
Template class __versa_string.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::append(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::reserve(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().