MCPcopy Create free account
hub / github.com/baldurk/renderdoc / merge

Function merge

renderdoc/strings/string_utils.cpp:218–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218void merge(const rdcarray<rdcstr> &in, rdcstr &out, const char sep)
219{
220 out = rdcstr();
221 for(size_t i = 0; i < in.size(); i++)
222 {
223 out += in[i];
224 if(i + 1 < in.size())
225 out += sep;
226 }
227}
228
229#if ENABLED(ENABLE_UNIT_TESTS)
230#include "catch/catch.hpp"

Callers 5

string_utils.cppFile · 0.85
CacheDebuggerPresentFunction · 0.85
ActivateContextMethod · 0.85
PreprocessLineDirectivesFunction · 0.85

Calls 2

rdcstrClass · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected