[iter] WHitespace

This commit is contained in:
Behdad Esfahbod 2018-12-30 18:47:47 -05:00
parent 851fbb23ea
commit aa2ab4f061
1 changed files with 4 additions and 8 deletions

View File

@ -179,14 +179,10 @@ struct hb_is_iterable { enum { value = _hb_is_iterable<T, hb_true_t>::value }; }
* As such, just check for member is_iter being there. */ * As such, just check for member is_iter being there. */
template<typename Iter = void, typename Item = void> char template<typename Iter = void, typename Item = void> char
_hb_is_iterator (...) {}; _hb_is_iterator (...) {};
template<typename Iter, typename Item> int template<typename Iter, typename Item> int _hb_is_iterator (hb_iter_t<Iter, Item> *) {};
_hb_is_iterator (hb_iter_t<Iter, Item> *) {}; template<typename Iter, typename Item> int _hb_is_iterator (hb_iter_t<Iter, const Item> *) {};
template<typename Iter, typename Item> int template<typename Iter, typename Item> int _hb_is_iterator (hb_iter_t<Iter, Item&> *) {};
_hb_is_iterator (hb_iter_t<Iter, const Item> *) {}; template<typename Iter, typename Item> int _hb_is_iterator (hb_iter_t<Iter, const Item&> *) {};
template<typename Iter, typename Item> int
_hb_is_iterator (hb_iter_t<Iter, Item&> *) {};
template<typename Iter, typename Item> int
_hb_is_iterator (hb_iter_t<Iter, const Item&> *) {};
static_assert (sizeof (char) != sizeof (int), ""); static_assert (sizeof (char) != sizeof (int), "");
template<typename Iter, typename Item> template<typename Iter, typename Item>