mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Fix handling of custom context
This commit is contained in:
parent
01f34d0b0b
commit
d231d68a8b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user