MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / add_option

Method add_option

utils/command_line/CommandLineParser.h:103–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101
102template <typename T, typename... As>
103inline T *CommandLineParser::add_option(const std::string &name, As &&...args)
104{
105 auto result = _options.emplace(name, std::make_unique<T>(name, std::forward<As>(args)...));
106 return static_cast<T *>(result.first->second.get());
107}
108
109template <typename T, typename... As>
110inline T *CommandLineParser::add_positional_option(As &&...args)

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected