Make wchar_t overloads usable in module

Bring ''detail::find()' into scope.
This commit is contained in:
Daniela Engert 2021-04-28 11:04:00 +02:00
parent 84a36b99bf
commit 30d4474cf5
No known key found for this signature in database
GPG Key ID: 7B95EE52040C5975

View File

@ -2992,6 +2992,9 @@ FMT_CONSTEXPR const Char* parse_replacement_field(const Char* begin,
template <bool IS_CONSTEXPR, typename Char, typename Handler>
FMT_CONSTEXPR_DECL FMT_INLINE void parse_format_string(
basic_string_view<Char> format_str, Handler&& handler) {
// this is most likely a name-lookup defect in msvc's modules implementation
using detail::find;
auto begin = format_str.data();
auto end = begin + format_str.size();
if (end - begin < 32) {