BloombergLP::bslstl::operator+

Return the concatenation of the specified C string and string ref.

Synopsis

Declared in <bslstl_stringref.h>

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

Return Value

string equal to the concatenation of the operands

Parameters

NameDescription
lhsleft-hand null-terminated C-string operand
rhsright-hand string reference operand