[iter] Tweak SFINAE again
Don't think we need hb_is_same().
This commit is contained in:
parent
f02ebc89ec
commit
2bd2750234
|
@ -212,7 +212,7 @@ struct hb_is_iterable
|
||||||
static hb_false_t test (...);
|
static hb_false_t test (...);
|
||||||
|
|
||||||
public:
|
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
|
#define hb_is_iterable(Iterable) hb_is_iterable<Iterable>::value
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue