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

Name

Description

lhs

left‐hand string reference operand

rhs

right‐hand string reference operand

Created with MrDocs