BloombergLP::bslstl::operator+

Return a bsl::string having the value of the concatenation of the strings referred to by the specified lhs and rhs values.

Synopsis

Declared in <bslstl_stringref.h>

template<class CHAR_TYPE>
bsl::basic_string<CHAR_TYPE>
operator+(
    StringRefImp<CHAR_TYPE> const& lhs,
    StringRefImp<CHAR_TYPE> const& rhs);

Return Value

string equal to the concatenation of the operands

Parameters

NameDescription
lhsleft-hand string reference operand
rhsright-hand string reference operand