MCPcopy Create free account
hub / github.com/Kitware/CMake / MaybeBind

Method MaybeBind

Source/cmArgumentParser.h:139–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 ArgumentParser::ActionMap Bindings;
138
139 bool MaybeBind(cm::string_view name, KeywordAction action)
140 {
141 return this->Bindings.Keywords.Emplace(name, std::move(action)).second;
142 }
143
144 void Bind(cm::string_view name, KeywordAction action)
145 {

Callers 2

BindMethod · 0.95
BindMethod · 0.80

Calls 2

moveFunction · 0.85
EmplaceMethod · 0.80

Tested by

no test coverage detected