提交 2bd27502 编写于 作者: B Behdad Esfahbod

[iter] Tweak SFINAE again

Don't think we need hb_is_same().
上级 f02ebc89
......@@ -212,7 +212,7 @@ struct hb_is_iterable
static hb_false_t test (...);
public:
enum { value = hb_is_same (decltype (test<T> (0)), hb_true_t) };
enum { value = decltype (test<T> (0))::value };
};
#define hb_is_iterable(Iterable) hb_is_iterable<Iterable>::value
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册