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

Synopsis

Declared in <bslstl_stringref.h>

template<class CHAR_TYPE>
bsl::basic_string<CHAR_TYPE>
operator+(
    StringRefImp<CHAR_TYPE> const& lhs,
    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 null‐terminated C‐string operand

Created with MrDocs