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

Function value_string

simcore/framework/src/cli/cli.hpp:1134–1136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1132/// get a string as a convertible value for arithmetic types
1133template <typename T, enable_if_t<std::is_arithmetic<T>::value, detail::enabler> = detail::dummy>
1134std::string value_string(const T &value) {
1135 return std::to_string(value);
1136}
1137/// get a string as a convertible value for enumerations
1138template <typename T, enable_if_t<std::is_enum<T>::value, detail::enabler> = detail::dummy>
1139std::string value_string(const T &value) {

Callers 3

IsMemberMethod · 0.85
TransformerMethod · 0.85
CheckedTransformerMethod · 0.85

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected