We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6bdb69 commit 9721d97Copy full SHA for 9721d97
include/fmt/base.h
@@ -923,7 +923,7 @@ class locale_ref {
923
public:
924
constexpr locale_ref() : locale_(nullptr) {}
925
926
- template <typename Locale, FMT_ENABLE_IF(sizeof(Locale::collate) != 0)>
+ template <typename Locale, int = Locale::collate>
927
locale_ref(const Locale& loc) : locale_(&loc) {
928
// Check if std::isalpha is found via ADL to reduce the chance of misuse.
929
isalpha('x', loc);
0 commit comments