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

Method IsMember

include/CLI/ExtraValidators.hpp:204–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202 /// This allows in-place construction using an initializer list
203 template <typename T, typename... Args>
204 IsMember(std::initializer_list<T> values, Args &&...args)
205 : IsMember(std::vector<T>(values), std::forward<Args>(args)...) {}
206
207 /// This checks to see if an item is in a set (empty function)
208 template <typename T> explicit IsMember(T &&set) : IsMember(std::forward<T>(set), nullptr) {}

Callers

nothing calls this directly

Calls 6

generate_setFunction · 0.85
smart_derefFunction · 0.85
ValidationErrorClass · 0.85
searchFunction · 0.85
value_stringFunction · 0.85
lexical_castFunction · 0.70

Tested by

no test coverage detected