- 11 3月, 2021 1 次提交
-
-
由 mamingshuai 提交于
-
- 09 9月, 2020 1 次提交
-
-
由 wenjun 提交于
-
- 29 7月, 2019 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 18 7月, 2019 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 16 5月, 2019 2 次提交
-
-
由 Behdad Esfahbod 提交于
Both to save ops, and also because lambdas don't implement operator!=, so this was failing in range-based for loop if a lambda was passed to hb_map() or hb_filter(). Just check end-condition assuming that we are comparing to .end() or iterators that are otherwise derived from current iterator. Ie. don't compare things that are expected to be in common.
-
由 Behdad Esfahbod 提交于
-
- 15 5月, 2019 1 次提交
-
-
由 Behdad Esfahbod 提交于
See comments.
-
- 14 5月, 2019 4 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
This make output of hb_enumerate() sorted regardless of input iterator.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 12 5月, 2019 3 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 David Corbett 提交于
-
由 Behdad Esfahbod 提交于
-
- 11 5月, 2019 3 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
There are two cases that we accept. Encode both.
-
- 10 5月, 2019 13 次提交
-
-
由 Behdad Esfahbod 提交于
Notably, add hb_is_source_of(,) and hb_is_sink_of(,) to replace most uses of hb_is_iterator_of(,).
-
由 Behdad Esfahbod 提交于
Instead of is_cr_convertible.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
We should compare-equal to end if either iterator's end reaches, not if both reach at the same time. Fixes infinite-loop in test which was happening after hb_enumerate() switched to using hb_zip().
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Also rewrite it via composition.
-
由 Behdad Esfahbod 提交于
hb_range() is like Python range. hb_iota() has slightly different API. Ie. it takes a start, instead of end.
-
由 Behdad Esfahbod 提交于
-
- 09 5月, 2019 9 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
The iter objects shouldn't not be const. D'oh.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
The bool conversion happens after predicate is called automatically.
-
由 Behdad Esfahbod 提交于
-
- 08 5月, 2019 1 次提交
-
-
由 Behdad Esfahbod 提交于
Allows for eg, checking all values equal 2: hb_all (it, 2).
-