4 Commits

Author SHA1 Message Date
Behdad Esfahbod
aa3b6017ed Revert "[iter] Make operator bool explicit"
This reverts commit 66920a6bace7c54c8166c4ed938b6ffc5fabcf2b.

Some of our bots (Oracle Studio and Apple gcc 4.2) do not allow
explicit except for constructors.

https://github.com/harfbuzz/harfbuzz/issues/1127
2018-08-09 00:56:28 -07:00
Behdad Esfahbod
66920a6bac [iter] Make operator bool explicit
We would need to write:

  for (Iter<T> it (...); bool (t); t++)

instead of:

  for (Iter<T> it (...); t; t++)

But I think it's an improvement in code readability in the long term.

Fixes https://github.com/harfbuzz/harfbuzz/issues/1127
2018-08-06 15:32:13 -07:00
Behdad Esfahbod
7f08818c44 Minor 2018-07-27 14:54:15 -07:00
Behdad Esfahbod
3c2842cbcf Add hb-iter-private.hh
Unused so far.
2018-07-25 17:07:17 -07:00