[iter] Tweak SFINAE again

Don't think we need hb_is_same().
This commit is contained in:
Behdad Esfahbod 2019-04-03 15:31:53 -07:00
parent f02ebc89ec
commit 2bd2750234
1 changed files with 1 additions and 1 deletions

View File

@ -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