Fix handling of custom context

This commit is contained in:
Victor Zverovich 2019-02-09 07:36:09 -08:00
parent 01f34d0b0b
commit d231d68a8b

View File

@ -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;