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

Name

Description

lhs

left‐hand null‐terminated C‐string operand

rhs

right‐hand string reference operand

Created with MrDocs