MCPcopy Create free account
hub / github.com/RenderKit/embree / add

Method add

tutorials/common/tutorial/benchmark.cpp:47–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46
47 void add(std::vector<std::string> const& args)
48 {
49 for (std::string const& str : args) {
50 auto pair = string_pool.emplace(std::unique_ptr<std::string>{new std::string(str)});
51 cl->emplace_back(&(*pair.first->get())[0]);
52 }
53 }
54
55 int argc() { return cl->size(); }
56 char** argv() { return cl->data(); }

Callers 1

mainMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected