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

Function first

include/fmt/compile.h:68–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67template <typename T, typename... Tail>
68constexpr auto first(const T& value, const Tail&...) -> const T& {
69 return value;
70}
71
72#if defined(__cpp_if_constexpr) && defined(__cpp_return_type_deduction)
73template <typename... T> struct type_list {};

Callers 1

formatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected