Suppress an ld warning on macOS (#3769).
| 1665 | template <typename T, typename Char> |
| 1666 | FMT_VISIBILITY("hidden") // Suppress an ld warning on macOS (#3769). |
| 1667 | FMT_CONSTEXPR auto invoke_parse(parse_context<Char>& ctx) -> const Char* { |
| 1668 | using mapped_type = remove_cvref_t<mapped_t<T, Char>>; |
| 1669 | constexpr bool formattable = |
| 1670 | std::is_constructible<formatter<mapped_type, Char>>::value; |
| 1671 | if (!formattable) return ctx.begin(); // Error is reported in the value ctor. |
| 1672 | using formatted_type = conditional_t<formattable, mapped_type, int>; |
| 1673 | return formatter<formatted_type, Char>().parse(ctx); |
| 1674 | } |
| 1675 | |
| 1676 | template <typename... T> struct arg_pack {}; |
| 1677 |