Concatenates a string and a null‐terminated array, reusing its 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>&& lhs,
    E const* rhs);

Return Value

A new string holding the concatenation.

Parameters

Name

Description

lhs

The left‐hand string, moved from.

rhs

Pointer to the null‐terminated right‐hand characters.

Created with MrDocs