MCPcopy Create free account
hub / github.com/fmtlib/fmt / test_value

Function test_value

test/base-test.cc:453–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451
452template <typename T, fmt::enable_if_t<std::is_integral<T>::value, int> = 0>
453auto test_value() -> T {
454 return static_cast<T>(42);
455}
456
457template <typename T,
458 fmt::enable_if_t<std::is_floating_point<T>::value, int> = 0>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected