Deprecate convert_to_int

This commit is contained in:
Victor Zverovich
2019-06-07 13:38:08 -07:00
parent 40779749ac
commit cb4c59495e
6 changed files with 60 additions and 54 deletions
-8
View File
@@ -109,14 +109,6 @@ struct fallback_formatter<T, Char,
};
} // namespace internal
// Disable conversion to int if T has an overloaded operator<< which is a free
// function (not a member of std::ostream).
template <typename T, typename Char>
struct convert_to_int<T, Char,
enable_if_t<internal::is_streamable<T, Char>::value>> {
static const bool value = false;
};
template <typename Char>
void vprint(std::basic_ostream<Char>& os, basic_string_view<Char> format_str,
basic_format_args<buffer_context<Char>> args) {