MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / make_string

Function make_string

extlibs/sol3/include/sol/sol.hpp:20879–20882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20877
20878 template <typename Arg>
20879 inline std::string make_string(Arg&& arg) {
20880 string_view s = make_string_view(arg);
20881 return std::string(s.data(), s.size());
20882 }
20883
20884 inline int is_indexer(string_view s) {
20885 if (s == to_string(meta_function::index)) {

Callers 1

setMethod · 0.85

Calls 4

make_string_viewFunction · 0.85
stringClass · 0.50
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected