Same as the primary operator+ with C‐string operands.
Synopsis
Declared in <bslstl_string.h>
template<
class CHAR_TYPE,
class CHAR_TRAITS,
class ALLOCATOR,
class STRING_VIEW_LIKE_TYPE>
bsl::basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>
operator+(
STRING_VIEW_LIKE_TYPE const& lhs,
basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>&& rhs);
Return Value
string equal to the concatenation of the operands
Parameters
Name |
Description |
rhs |
right‐hand operand |
lhs |
left‐hand operand |
Created with MrDocs