MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / valid_first_char

Function valid_first_char

simcore/framework/src/cli/cli.hpp:299–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297/// Verify the first character of an option
298template <typename T>
299bool valid_first_char(T c) {
300 return std::isalnum(c, std::locale()) || c == '_' || c == '?' || c == '@';
301}
302
303/// Verify following characters of an option
304template <typename T>

Callers 6

valid_later_charFunction · 0.85
valid_name_stringFunction · 0.85
split_shortFunction · 0.85
split_longFunction · 0.85
split_windows_styleFunction · 0.85
get_namesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected