MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / append

Function append

Libraries/Strings/StringBuilder.h:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 /// @brief Formats the given StringView against args, appending to destination contents
41 template <typename... Types>
42 [[nodiscard]] bool append(StringView fmt, Types&&... args)
43 {
44 // It's ok parsing format string '{' and '}' both for utf8 and ascii with StringIteratorASCII
45 // because on a valid UTF8 string, these chars are unambiguously recognizable
46 StringFormatOutput sfo(encoding, *buffer);
47 return StringFormat<StringIteratorASCII>::format(sfo, fmt, forward<Types>(args)...);
48 }
49
50 /// @brief Appends StringView to destination buffer
51 /// @param str StringView to append to destination buffer

Callers

nothing calls this directly

Calls 1

formatFunction · 0.70

Tested by

no test coverage detected