mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-28 18:32:46 +00:00
Forward declare is_string<FILE*> specializations
This commit is contained in:
parent
b742f622ab
commit
6d416cf674
@ -618,6 +618,10 @@ struct is_string
|
|||||||
decltype(to_string_view(declval<S>()))>::value> {
|
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 {
|
template <typename S> struct char_t {
|
||||||
typedef decltype(to_string_view(declval<S>())) result;
|
typedef decltype(to_string_view(declval<S>())) result;
|
||||||
typedef typename result::char_type type;
|
typedef typename result::char_type type;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user