Forward declare is_string<FILE*> specializations

This commit is contained in:
ricco19 2019-03-18 10:33:28 -04:00 committed by Victor Zverovich
parent b742f622ab
commit 6d416cf674

View File

@ -618,6 +618,10 @@ struct is_string
decltype(to_string_view(declval<S>()))>::value> {
};
// Forward declare FILE* specialization defined in color.h
template <> struct is_string<std::FILE*>;
template <> struct is_string<const std::FILE*>;
template <typename S> struct char_t {
typedef decltype(to_string_view(declval<S>())) result;
typedef typename result::char_type type;