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

Function lexical_cast

include/CLI/TypeTools.hpp:1123–1125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1121 classify_object<T>::value == object_category::unsigned_integral,
1122 detail::enabler> = detail::dummy>
1123bool lexical_cast(const std::string &input, T &output) {
1124 return integral_conversion(input, output);
1125}
1126
1127/// char values
1128template <typename T,

Callers 15

is_lexical_castableClass · 0.70
lexical_assignFunction · 0.70
lexical_conversionFunction · 0.70
sum_string_vectorFunction · 0.70
add_flagMethod · 0.70
RangeMethod · 0.70
TypeValidatorMethod · 0.70
BoundMethod · 0.70
IsMemberMethod · 0.70
TransformerMethod · 0.70
CheckedTransformerMethod · 0.70
AsNumberWithUnitMethod · 0.70

Calls 4

integral_conversionFunction · 0.85
to_flag_valueFunction · 0.85
from_streamFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected