Concatenates two strings, reusing the right operand's storage.

Synopsis

Declared in <folly/FBString.h>

template<
    typename E,
    class T,
    class A,
    class S>
basic_fbstring<E, T, A, S>
operator+(
    basic_fbstring<E, T, A, S> const& lhs,
    basic_fbstring<E, T, A, S>&& rhs);

Return Value

A new string holding the concatenation.

Parameters

Name

Description

lhs

The left‐hand string.

rhs

The right‐hand string, moved from.

Created with MrDocs