Behdad Esfahbod
|
3bc86fb237
|
[algs] Fix hb_inc/dec signature
|
2019-08-31 12:24:56 -05:00 |
Behdad Esfahbod
|
6f51e55524
|
[algs] Rename hb_bind to hb_partial
Since our API is the invers of what std::bind is, and closer to Python
functools.partial().
|
2019-05-15 21:41:12 -07:00 |
Behdad Esfahbod
|
0888e7bc86
|
[algs] Change hb_bind parameter number to be from one
To match std:;bind, even though our interfaces are very different.
|
2019-05-15 21:36:42 -07:00 |
Behdad Esfahbod
|
a06a236891
|
[algs] Partialize all operators
|
2019-05-15 21:16:09 -07:00 |
Behdad Esfahbod
|
edc69ec935
|
[algs] Rewrite bind API
And add a partialization API use example to hb_add()
|
2019-05-15 21:09:56 -07:00 |
Behdad Esfahbod
|
16a3540ea4
|
[algs] Add hb_bind0 and hb_bind1
|
2019-05-15 20:48:20 -07:00 |
Behdad Esfahbod
|
243a5a6af2
|
[algs] Remove pair copy constructor
Use default.
|
2019-05-15 19:04:24 -07:00 |
Behdad Esfahbod
|
5266ca86b6
|
Fix tests
Oops.
|
2019-05-15 17:59:00 -07:00 |
Behdad Esfahbod
|
790315e0db
|
[algs] Implement implicit casting between compatible pair types
|
2019-05-09 15:31:24 -07:00 |
Behdad Esfahbod
|
2c7093ed01
|
More tests
|
2019-05-07 23:10:59 -07:00 |
Behdad Esfahbod
|
6fa1f38070
|
[algs] Accept varargs in hb_min/max
|
2019-05-07 21:33:26 -07:00 |
Behdad Esfahbod
|
0268db1196
|
[map] Use hb_invoke() with pointer-to-method
|
2019-04-24 10:53:39 -04:00 |
Behdad Esfahbod
|
12017db0bf
|
Move test code around
|
2019-04-24 09:24:38 -04:00 |
Behdad Esfahbod
|
1558a43342
|
[test] Minor
|
2019-02-14 20:46:13 -08:00 |
Behdad Esfahbod
|
fa373584de
|
[algs] Test pair more
|
2019-02-14 20:15:07 -08:00 |
Behdad Esfahbod
|
0d7af5fb02
|
[algs] Use universal references for hb_pair()
Such that it carries lvalues inside.
|
2019-02-14 19:37:57 -08:00 |