|
59a8fa53
|
2019-04-24T12:19:13
|
|
[iter] Add tests for casting to hb_iter_t<> base class for hb_sorted_array_t<>
Something's phishy about hb_sorted_array_t<>. Can't get it work nicely with
change I'm making. Ugh..
|
|
12017db0
|
2019-04-24T09:24:38
|
|
Move test code around
|
|
64ca2ffa
|
2019-04-23T01:10:46
|
|
Fix clang's -Wmain complain (#1678)
|
|
25dd88ef
|
2019-04-22T17:45:23
|
|
Err, fix hb_invoke() variadic
|
|
42ab32cb
|
2019-04-02T18:41:33
|
|
[iter] Remove passing pointer to hb_iter()
While doable with hb_deref_pointer() as well, we also would then
need to do it in a ton of places. Not worth it / messy.
|
|
b6f29bf1
|
2019-04-02T18:12:01
|
|
[iter] Accept pointers in hb_iter()
No idea how to avoid dupicating code. Was hoping hb_deref_pointer()
would do it, but looks like a pointer can't bind to a universal
reference T&&. Humm.
|
|
edad6b2c
|
2019-04-03T00:48:59
|
|
[test][iter] minor, fix double promotion warning
|
|
062f5d6e
|
2019-04-02T20:27:00
|
|
[test] minor, c style comments
|
|
afdbf960
|
2019-04-02T20:25:06
|
|
[iter][test] Add another test for hb_reduce
Different initial and accumulator types
|
|
b8642087
|
2019-04-02T00:30:06
|
|
[iter] hb_reduce, accumulator with a different type
|
|
e526414c
|
2019-03-31T12:41:58
|
|
[iter] Implement hb_reduce
|
|
78fc43f2
|
2019-03-31T19:17:07
|
|
[iter] Fix up build, ouch
Yeah, some things not very clear...
|
|
e5306927
|
2019-03-29T23:31:07
|
|
[iter] Fix bug in hb_any() and hb_none()
|
|
443db2a2
|
2019-03-29T10:46:44
|
|
[iter] Remove hb_len()
Not planning on using it. So remove. Can add later if needed.
|
|
f639b9a8
|
2019-03-28T21:34:47
|
|
[iter] Add hb_len() function-object
|
|
77060bcd
|
2019-02-15T16:55:08
|
|
[iter] Add hb_all, hb_any, hb_none
|
|
fa35d3fd
|
2019-02-14T14:04:05
|
|
[iter] Add hb_drain
|
|
773d7563
|
2019-02-14T11:40:22
|
|
[iter] Add hb_apply()
|
|
5fa52e62
|
2019-02-14T10:51:02
|
|
[iter] Accept iterator, not iterable, in hb_sink()()
|
|
849a0f17
|
2019-01-29T17:10:19
|
|
[iter] Add hb_iter_with_fallback_t instead
|
|
4d40ed9d
|
2019-01-29T13:55:23
|
|
[iter] Add hb_iter_with_mixin_t<>
|
|
84a25d79
|
2019-01-29T13:39:19
|
|
[iter] Rename
|
|
57795bc8
|
2019-01-28T16:23:12
|
|
[iter] Add operator>> and operator<<
|
|
0363ce65
|
2019-01-27T01:03:56
|
|
[iter] Accept C arrays in hb_iter()
|
|
b62e7f92
|
2019-01-27T00:51:43
|
|
[test] Test unary operator+
"Test" as in compiles..
|
|
778c96b8
|
2019-01-27T00:50:54
|
|
[iter] Fix hb_iter()
|
|
2f5b1a91
|
2019-01-27T00:49:37
|
|
[iter] Add unary operator+ that returns a copy
|
|
fbab07f9
|
2019-01-27T00:44:45
|
|
[iter] Add hb_bool() and make hb_filter default to it for predicate
|
|
2aff6d96
|
2019-01-26T22:54:25
|
|
[iter] Test that default-constructed iterators are empty
|
|
090fe56d
|
2019-01-25T15:34:03
|
|
Merge branch 'master' into iter
|
|
2658e40f
|
2019-01-08T12:53:02
|
|
[iter] Add hb_is_random_access_iterator()
|
|
445364d8
|
2019-01-08T12:42:15
|
|
[iter] Rename hb_is_[sorted_]iterator() -> hb_is_[sorted_]iterator_of()
|
|
ca6adcd1
|
2019-01-08T14:23:12
|
|
[iter] Test hb_is_iterable / hb_is_iterator
|
|
47333c8a
|
2019-01-07T21:38:49
|
|
[iter] Fix operator->
|
|
85969e35
|
2019-01-07T18:59:26
|
|
[iter] Fix test
|
|
6cd96ba1
|
2018-12-30T20:51:31
|
|
[iter] Make is_random_access_iterator a constant
We cannot rely on constexpr functions...
|
|
859a880b
|
2018-12-30T02:11:03
|
|
[iter] Add back operator +
Too ugly to remove..
|
|
076faf7c
|
2018-12-30T01:40:08
|
|
[iter] Disable operator +
To see if it makes bots happy... This is frustrating.
|
|
037f735e
|
2018-12-28T21:09:15
|
|
[iter] Remove friend operator +, hoping to fix some bots
|
|
5ec11ce1
|
2018-12-27T17:17:28
|
|
[iter] Clarify readonly vs lvalue iterators
lvalue iterators must declare __item_type__ as a reference.
|
|
2cbf5bf3
|
2018-12-27T16:55:18
|
|
[iter] Test OT::Coverage iter
|
|
570473a3
|
2018-12-27T13:29:51
|
|
[iter] Make hb_sorted_array_t work as iter
Ugly, but does the job.
|
|
3dea9aff
|
2018-12-26T19:56:37
|
|
[iter] Test default-constructability
|
|
743ff093
|
2018-12-26T19:54:52
|
|
[iter] Implement friend opeator + (int, iter)
|
|
2ea79e03
|
2018-12-26T19:01:46
|
|
[iter] Minor
|
|
fb053b63
|
2018-12-26T19:01:30
|
|
[iter] Rename random_access() to constexpr is_random_access()
|
|
d3976b7e
|
2018-12-26T18:54:27
|
|
[iter] Make them work, mostly
|
|
7987095e
|
2019-01-09T01:02:38
|
|
[meta] Remove hb_enable_if_t
It was only used for C++<11 which does not allow default parameters
in function templates. Looks like we cannot support <11 anyway, so,
start cleaning up.
|
|
84e5d002
|
2019-01-08T23:57:16
|
|
[iter] Add hb_zip()
|
|
636786ec
|
2019-01-08T23:48:35
|
|
[iter] Rename __item_type__ to __item_t__
|
|
3fc03e42
|
2019-01-08T16:33:31
|
|
[iter] Use static_assert with hb_is_random_access_iterator()
Both, checks constexpr'ness, and fixes build with cra**y implementations
of assert() macro:
test-iter.cc:108:11: error: too many arguments provided to function-like macro invocation
assert (hb_is_random_access_iterator (array_iter_t<int>));
^
./hb-iter.hh:186:42: note: expanded from macro 'hb_is_random_access_iterator'
hb_is_random_access_iterator_of (Iter, typename Iter::item_t)
^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:89:9: note: macro '__STRING' defined here
\#define __STRING(x) #x
^
test-iter.cc:108:3: error: use of undeclared identifier '__STRING'
assert (hb_is_random_access_iterator (array_iter_t<int>));
^
/usr/include/assert.h:91:21: note: expanded from macro 'assert'
: __assert_fail (__STRING(expr), __FILE__, __LINE__, __ASSERT_FUNCTION))
^
|
|
e4355b1c
|
2018-12-22T16:11:22
|
|
[set] Add iter_t as alias to const_iter_t
|
|
2a33ab05
|
2018-12-21T18:49:27
|
|
[iter] Change __more__ to fallback to __len__
|
|
474a1205
|
2018-12-21T18:46:51
|
|
[array/vector] Rename len to length
|
|
2fc1860a
|
2018-12-21T18:09:45
|
|
[iter] Split hb_iter_t<> into hb_iter_t<> and hb_iter_mixin_t<>
|
|
865deeb3
|
2018-12-21T17:35:58
|
|
Adjust internal header dependencies
|
|
7557e348
|
2018-12-21T17:21:19
|
|
[iter] Move hb_fill() and hb_copy() to hb-iter.hh
|
|
65e8bd56
|
2018-12-21T16:20:30
|
|
[iter] Fix hb_copy() return value
|
|
aaddfaa5
|
2018-12-21T16:04:38
|
|
[iter] Make hb_fill() take collection type, not iter
Starting to get the hang of when take which.
|
|
3dbe1e36
|
2018-12-21T15:53:09
|
|
[iter] Add .random_access()
|
|
bdb6da72
|
2018-12-21T11:20:27
|
|
[iter] Fix test again
|
|
e9520752
|
2018-12-21T11:15:16
|
|
Minor
|
|
35503d7d
|
2018-12-21T03:03:46
|
|
[iter] More prototyping
|
|
73c7a896
|
2018-12-21T02:48:28
|
|
[iter] Make hb_fill() and hb_copy() take iterators
I'm still going back and force...
|
|
12e506fd
|
2018-12-21T02:47:04
|
|
[iter] Add hb_fill()
|
|
ad3ed58d
|
2018-12-21T02:12:55
|
|
[iter] Start prototyping hb_copy()
|
|
44af738d
|
2018-12-21T01:59:37
|
|
[iter] Showcase implicit casts
|
|
8001e00a
|
2018-12-21T01:53:27
|
|
[iter] First sample use
|
|
314d8698
|
2018-12-21T00:54:55
|
|
[iter] Sketch new iterator design
|
|
f6d5f1e9
|
2018-12-21T00:23:34
|
|
[iter] Add empty test
|