MCPcopy Create free account
hub / github.com/CLIUtils/CLI11 / needs

Function needs

include/CLI/App.hpp:1023–1029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1021 }
1022
1023 App *needs(Option *opt) {
1024 if(opt == nullptr) {
1025 throw OptionNotFound("nullptr passed");
1026 }
1027 need_options_.insert(opt);
1028 return this;
1029 }
1030
1031 App *needs(App *app) {
1032 if(app == nullptr) {

Callers

nothing calls this directly

Calls 1

OptionNotFoundClass · 0.85

Tested by

no test coverage detected