diff --git a/ostd/format.hh b/ostd/format.hh index 90f7e5c..92c5860 100644 --- a/ostd/format.hh +++ b/ostd/format.hh @@ -399,9 +399,8 @@ protected: /* for custom container formatting */ template().to_format(declval(), - declval())), - bool + IsSame() + .to_format(declval(), declval())), bool >::value >> inline bool to_format(const T &v, R &writer, const FormatSpec &fs) { return v.to_format(writer, fs);