Fix handling of custom context
This commit is contained in:
1 parent
01f34d0b0b
commit
d231d68a8b
1 file changed
+1
-1
+1
-1
@@ -273,7 +273,7 @@ namespace std {
|
||||
explicit basic_format_arg(const T* p) noexcept; // exposition only
|
||||
|
||||
template<class T, typename = std::enable_if_t<
|
||||
!Integral<T> && is_default_constructible_v<formatter<T, char_type>>>>
|
||||
!Integral<T> && is_default_constructible_v<typename Context::template formatter_type<T>>>>
|
||||
explicit basic_format_arg(const T& v) noexcept; // exposition only
|
||||
|
||||
explicit operator bool() const noexcept;
|
||||
|
||||
Reference in new issue
Block a user