cappend overloads
Declared in <folly/FixedString.h>
** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** Creates a new string by appending a character to an existing string, which is left unmodified.
constexpr
BasicFixedString<Char, N + 1U>
cappend(Char ch) const noexcept;
» more...
Creates a new string by appending a string to an existing string, which is left unmodified.
template<std::size_t M>
constexpr
BasicFixedString<Char, N + M>
cappend(BasicFixedString<Char, M> const& that) const noexcept;
» more...
Creates a new string by appending a string literal to a string, which is left unmodified.
template<std::size_t M>
constexpr
BasicFixedString<Char, N + M - 1U>
cappend(Char const(& that)[]) const noexcept;
» more...
Deleted cappend from a string and a position.
template<std::size_t M>
constexpr
BasicFixedString<Char, N + M>
cappend(
BasicFixedString<Char, M> const& that,
std::size_t pos) const noexcept(false) = delete;
» more...
Deleted cappend from a string literal and a position.
template<std::size_t M>
constexpr
BasicFixedString<Char, N + M - 1U>
cappend(
Char const(& that)[],
std::size_t pos) const noexcept(false) = delete;
» more...
Creates a new string by appending characters from one string to another, which is left unmodified.
template<std::size_t M>
constexpr
BasicFixedString<Char, N + M>
cappend(
BasicFixedString<Char, M> const& that,
std::size_t pos,
std::size_t count) const noexcept(false);
» more...
Creates a new string by appending characters from one string to another, which is left unmodified.
template<std::size_t M>
constexpr
BasicFixedString<Char, N + M - 1U>
cappend(
Char const(& that)[],
std::size_t pos,
std::size_t count) const noexcept(false);
» more...
ch appended.that appended.| Name | Description |
|---|---|
| ch | The character to append. |
| that | The source string to append. |
| pos | The starting position in the source string. |
| count | The number of characters to append. |