MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / join

Function join

modules/engine/lua/src/build.skr_lua.cpp:469–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467}
468
469inline skr::stl_u8string join(const skr::Vector<skr::stl_u8string_view>& tokens, const skr::stl_u8string_view& delimiters = u8" ")
470{
471 skr::stl_u8string s;
472 for (auto& token : tokens)
473 {
474 if (!s.empty())
475 s.insert(s.end(), delimiters.begin(), delimiters.end());
476 s.insert(s.end(), token.begin(), token.end());
477 }
478 return s;
479}
480
481template<int level>
482int skr_lua_log(lua_State* L)

Callers 4

skr_lua_logFunction · 0.70
joinMethod · 0.50
vulkan_raii.hppFile · 0.50

Calls 4

emptyMethod · 0.45
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected