Return the concatenation of the specified operands.

Synopsis

Declared in <bslstl_string.h>

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

Return Value

string equal to the concatenation of the operands

Parameters

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs