Addition operators
Synopses
Declared in <bslstl_randomaccessiterator.h>
Return a bsl::string having the value of the concatenation of the strings referred to by the specified lhs and rhs values.
template<class CHAR_TYPE>
bsl::basic_string<CHAR_TYPE>
operator+(
StringRefImp<CHAR_TYPE> const& lhs,
StringRefImp<CHAR_TYPE> const& rhs);
Return the concatenation of the specified lhs string ref and the specified rhs bsl::basic_string value.
template<class CHAR_TYPE>
bsl::basic_string<CHAR_TYPE>
operator+(
StringRefImp<CHAR_TYPE> const& lhs,
bsl::basic_string<CHAR_TYPE> const& rhs);
Return the concatenation of the specified lhs string ref and the specified rhs std::basic_string value.
template<class CHAR_TYPE>
bsl::basic_string<CHAR_TYPE>
operator+(
StringRefImp<CHAR_TYPE> const& lhs,
std::basic_string<CHAR_TYPE> const& rhs);
Return the concatenation of the specified string ref and C string.
template<class CHAR_TYPE>
bsl::basic_string<CHAR_TYPE>
operator+(
StringRefImp<CHAR_TYPE> const& lhs,
CHAR_TYPE const* rhs);
Return the concatenation of the specified lhs string ref and the specified rhs bsl::basic_string value.
template<class CHAR_TYPE>
bsl::basic_string<CHAR_TYPE>
operator+(
bsl::basic_string<CHAR_TYPE> const& lhs,
StringRefImp<CHAR_TYPE> const& rhs);
Return the concatenation of the specified lhs std::basic_string and the specified rhs string ref.
template<class CHAR_TYPE>
bsl::basic_string<CHAR_TYPE>
operator+(
std::basic_string<CHAR_TYPE> const& lhs,
StringRefImp<CHAR_TYPE> const& rhs);
Return the concatenation of the specified C string and string ref.
template<class CHAR_TYPE>
bsl::basic_string<CHAR_TYPE>
operator+(
CHAR_TYPE const* lhs,
StringRefImp<CHAR_TYPE> const& rhs);
Return an iterator to the element at the specified lhs positions past the specified rhs. The behavior is undefined unless rhs, after incrementing by lhs, is within the bounds of the underlying sequence.
template<
class T,
class ITER_IMP,
class TAG_TYPE>
bslstl::RandomAccessIterator<T, ITER_IMP, TAG_TYPE>
operator+(
std::ptrdiff_t lhs,
RandomAccessIterator<T, ITER_IMP, TAG_TYPE> const& rhs);
Return an iterator to the element at the specified rhs positions past the specified lhs. The behavior is undefined unless lhs, after incrementing by rhs, is within the bounds of the underlying sequence.
template<
class T,
class ITER_IMP,
class TAG_TYPE>
bslstl::RandomAccessIterator<T, ITER_IMP, TAG_TYPE>
operator+(
RandomAccessIterator<T, ITER_IMP, TAG_TYPE> const& lhs,
std::ptrdiff_t rhs);
Created with MrDocs