MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / Compose

Function Compose

src/tests/string_func.cpp:352–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350/* Helper to compose a string from unicode or string parts. */
351template <typename... Args>
352static std::string Compose(Args &&... args)
353{
354 std::string result;
355 StringBuilder builder(result);
356 (ComposePart(builder, args), ...);
357 return result;
358}
359
360TEST_CASE("FixSCCEncoded")
361{

Callers 1

string_func.cppFile · 0.85

Calls 1

ComposePartFunction · 0.85

Tested by

no test coverage detected