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

Function check_enabled_formatter

test/format-test.cc:2346–2350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2344}
2345
2346template <typename Char, typename T> auto check_enabled_formatter() -> bool {
2347 static_assert(std::is_default_constructible<fmt::formatter<T, Char>>::value,
2348 "");
2349 return true;
2350}
2351
2352template <typename Char, typename... T> void check_enabled_formatters() {
2353 auto dummy = {check_enabled_formatter<Char, T>()...};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected