[meta] Replace most hb_enable_if with hb_requires
They do absolutely same thing. hb_requires is to encode constraints,
whereas hb_enable_if is for more conditional enabling.
diff --git a/src/test-iter.cc b/src/test-iter.cc
index afbcbe9..e8c6bda 100644
--- a/src/test-iter.cc
+++ b/src/test-iter.cc
@@ -65,7 +65,7 @@
template <typename Iter,
- hb_enable_if (hb_is_iterator (Iter))>
+ hb_requires (hb_is_iterator (Iter))>
static void
test_iterator_non_default_constructable (Iter it)
{
@@ -92,7 +92,7 @@
}
template <typename Iter,
- hb_enable_if (hb_is_iterator (Iter))>
+ hb_requires (hb_is_iterator (Iter))>
static void
test_iterator (Iter it)
{
@@ -103,7 +103,7 @@
}
template <typename Iterable,
- hb_enable_if (hb_is_iterable (Iterable))>
+ hb_requires (hb_is_iterable (Iterable))>
static void
test_iterable (const Iterable &lst = Null(Iterable))
{