MCPcopy Create free account
hub / github.com/build-cpp/cmkr / operator()

Method operator()

src/cmake_generator.cpp:465–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463
464 template <class... Ts>
465 CommandEndl operator()(Ts &&...values) {
466 generated = true;
467 ss << indent(depth) << command << '(';
468 (void)std::initializer_list<bool>{print_arg(values)...};
469 if (had_newline)
470 ss << '\n' << indent(depth);
471 ss << ")";
472 if (!post_comment.empty()) {
473 ss << " # " << post_comment;
474 }
475 ss << "\n";
476 return CommandEndl(ss);
477 }
478};
479
480static std::string tolf(const std::string &str) {

Callers

nothing calls this directly

Calls 2

CommandEndlClass · 0.85
emptyMethod · 0.80

Tested by

no test coverage detected