[iter] Syntax

This commit is contained in:
Behdad Esfahbod 2019-01-08 14:26:41 -05:00
parent ca6adcd1ad
commit adc5910a63
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ struct _hb_is_iterator
};
template<typename Iter, typename Item>
struct hb_is_iterator { enum {
value = sizeof (int) == sizeof (hb_declval<_hb_is_iterator<Iter>> () (hb_declval<Iter*> ())) }; };
value = sizeof (int) == sizeof (hb_declval<_hb_is_iterator<Iter> > () (hb_declval<Iter*> ())) }; };
#define hb_is_iterator(Iter, Item) hb_is_iterator<Iter, Item>::value
#define hb_is_sorted_iterator(Iter, Item) \