Minor cleanup

This commit is contained in:
Victor Zverovich
2024-01-10 16:43:00 -08:00
parent 6159e2b0ab
commit 971f7ae768
5 changed files with 15 additions and 27 deletions
-7
View File
@@ -1490,10 +1490,8 @@ constexpr unsigned long long make_descriptor() {
: is_unpacked_bit | NUM_ARGS;
}
#if defined(__cpp_if_constexpr)
// This type is intentionally undefined, only used for errors
template <typename T, typename Char> struct type_is_unformattable_for;
#endif
template <bool PACKED, typename Context, typename T, FMT_ENABLE_IF(PACKED)>
FMT_CONSTEXPR auto make_arg(T& val) -> value<Context> {
@@ -1918,11 +1916,6 @@ constexpr auto make_format_args(T&... args)
return {args...};
}
// DEPRECATED!
template <typename Context, typename... T>
using format_arg_store =
decltype(make_format_args<Context>(std::declval<T&>()...));
/**
\rst
Returns a named argument to be used in a formatting function.