Behdad Esfahbod
|
47333c8a30
|
[iter] Fix operator->
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
177a8af380
|
[array] SFINAE fun
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
8414f16787
|
[meta] Rename
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
8e0a58e1b3
|
[array] Remove construction that was removing constness
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
85969e357a
|
[iter] Fix test
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
da49961836
|
[iter] Remove comment
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
815cde9fa3
|
[iter] Use is_sorted_iterator
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
ed4336680d
|
[iter] Handhold hb_is_iterator() type deduction
by partial-instantiating on Iter.
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
cb5011d364
|
Revert "[iter] Add hb_iter_of_t<>"
This reverts commit d6cbe96e2fc7bc8f1c10e631b52b1ef31ff9a6f5.
Isn't useful, as duplicate inheritance of same type results in ambiguity
errors...
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
c132cda9d9
|
[iter] Fix warnings
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
c9d8a07e30
|
[iter] Add hb_iter_of_t<>
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
b5d6fe1a45
|
[iter] Remove hb_sorted_iter_t
Not enforcing it using type hierarchy.
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
255085bd59
|
[iter] Const correctness
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
415f3f4320
|
Add operator= to IntType, commented out
https://github.com/harfbuzz/harfbuzz/pull/1510
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
183be8f452
|
[iter] Minor
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
6cd96ba1ac
|
[iter] Make is_random_access_iterator a constant
We cannot rely on constexpr functions...
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
a685bfe8fc
|
Separate GlyphID from HBUINT16
For stricter enforcement.
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
8ac64d0090
|
[iter] Fix sorted_iter iter class
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
93615b9598
|
[iter/meta] Add hb_is_sorted_iterator()
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
92f25db1e8
|
[iter] Remove stale comment
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
40c24fd4a6
|
[iter] Port Coverage towards iter_t instead of array_t specifics
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
d552b6818c
|
[meta] Move typename around
We'll see if bots like.
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
f64ea8fc65
|
[meta] Move code around
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
aa2ab4f061
|
[iter] WHitespace
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
851fbb23ea
|
[iter] Port Coverage::serialize to hb_is_iterator
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
06a44e2e53
|
[iter/meta] Match hb_is_iterator<> using SFINAE
By specifying Item type, which is desirable.
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
bcb913efb4
|
Minor
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
859a880b08
|
[iter] Add back operator +
Too ugly to remove..
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
076faf7c18
|
[iter] Disable operator +
To see if it makes bots happy... This is frustrating.
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
a46874f1ab
|
[iter] Revert back uses of C++11 auto type deduction
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
0828db8444
|
[iter] Rename
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
037f735efd
|
[iter] Remove friend operator +, hoping to fix some bots
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
cb27918d0a
|
Use Null() instead of declval(), hoping to fix some bots
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
3d22900f62
|
[meta] Don't use template default arguments for functions
That's a C++11 extension apparently...
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
b89d20dd9f
|
[meta] Fix unused-function-template warning
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
df138da2e6
|
[iter/meta] Implement is_iterator
Removes use of auto type deduction again, which was not supported on many bots.
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
8570da1d74
|
[meta] Minor
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
442f4a5891
|
[meta] Move more code here
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
8c6cbbdfa3
|
[iter/meta] Add hb_is_iterable
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
576d5e2420
|
Don't use delegating constructors
Not all C++11 features are created equal when it comes to support...
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
e32bf39766
|
[meta] Add enable_if
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
e76a3cae0f
|
Add hb-meta.hh for meta-programming
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
5ec11ce13a
|
[iter] Clarify readonly vs lvalue iterators
lvalue iterators must declare __item_type__ as a reference.
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
2cbf5bf3a9
|
[iter] Test OT::Coverage iter
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
fd75d29f0f
|
[iter] Streamline vector iterators
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
570473a345
|
[iter] Make hb_sorted_array_t work as iter
Ugly, but does the job.
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
d6024794fb
|
Change hb_void_t implementation
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
cde31988c2
|
[iter] Mark Coverage iterator sorted
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
49161d411f
|
[subset] Take iterator in ArrayOf serialize
Still not satisfied with how I can enforce iterators only, but
seems to work for now.
|
2019-01-20 20:12:12 -05:00 |
Behdad Esfahbod
|
e16884248f
|
[iter] Port Coverage iterator to hb_iter_t
|
2019-01-20 20:12:12 -05:00 |