Use qualified name-lookup in module. (#2324)

Allow lookup of non-exported names from local classes in function templates.
This commit is contained in:
Daniela Engert
2021-05-31 09:11:24 -07:00
committed by GitHub
parent bf9904ee4d
commit d7ba6c3ea8
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -2169,6 +2169,7 @@ FMT_CONSTEXPR FMT_INLINE auto parse_arg_id(const Char* begin, const Char* end,
template <typename Char, typename Handler>
FMT_CONSTEXPR auto parse_width(const Char* begin, const Char* end,
Handler&& handler) -> const Char* {
using detail::auto_id;
struct width_adapter {
Handler& handler;
@@ -2198,6 +2199,7 @@ FMT_CONSTEXPR auto parse_width(const Char* begin, const Char* end,
template <typename Char, typename Handler>
FMT_CONSTEXPR auto parse_precision(const Char* begin, const Char* end,
Handler&& handler) -> const Char* {
using detail::auto_id;
struct precision_adapter {
Handler& handler;