MCPcopy Create free account
hub / github.com/RenderKit/oidn / getNextValue

Method getNextValue

apps/utils/arg_parser.cpp:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34 template<>
35 std::string ArgParser::getNextValue()
36 {
37 std::string str = getNext();
38 if (!str.empty() && str[0] == '-')
39 throw std::invalid_argument("value expected");
40 return str;
41 }
42
43OIDN_NAMESPACE_END
44

Callers 2

mainFunction · 0.80
mainFunction · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected