llvm-project/libcxx/test/std/algorithms/alg.modifying.operations
Nikolas Klauser 1323461fe7 [libc++] Add utilites for instantiating functions with multiple types
We currently call a lot of functions with the same list of types. To avoid forgetting any of them, this patch adds type_lists and utilities for it. Specifically, it adds
- `type_list` - This is just a list of types
- `concatenate` - This allows concatenating type_lists
- `for_each` - Iterate over a type_list

Reviewed By: ldionne, #libc

Spies: jloser, EricWF, libcxx-commits

Differential Revision: https://reviews.llvm.org/D137476
2022-11-21 20:35:06 +01:00
..
alg.copy [libc++] Add utilites for instantiating functions with multiple types 2022-11-21 20:35:06 +01:00
alg.fill [libc++] Make <ranges> non-experimental 2022-08-18 16:59:58 -04:00
alg.generate [libc++] Make <ranges> non-experimental 2022-08-18 16:59:58 -04:00
alg.move Revert "[libc++][ranges]Refactor `copy{,_backward}` and `move{,_backward}`" 2022-10-02 16:23:35 -07:00
alg.partitions [libc++] Make <ranges> non-experimental 2022-08-18 16:59:58 -04:00
alg.random.sample [libc++] Make <ranges> non-experimental 2022-08-18 16:59:58 -04:00
alg.random.shuffle [libc++] Make <ranges> non-experimental 2022-08-18 16:59:58 -04:00
alg.remove [libc++] Make <ranges> non-experimental 2022-08-18 16:59:58 -04:00
alg.replace [libc++] Make <ranges> non-experimental 2022-08-18 16:59:58 -04:00
alg.reverse [libc++] Make <ranges> non-experimental 2022-08-18 16:59:58 -04:00
alg.rotate [libc++] Make <ranges> non-experimental 2022-08-18 16:59:58 -04:00
alg.shift [libc++] Implement [P0769] "Add shift to algorithm" (shift_left, shift_right) 2021-01-25 12:57:04 -05:00
alg.swap [libc++] Make <ranges> non-experimental 2022-08-18 16:59:58 -04:00
alg.transform [libc++] Make <ranges> non-experimental 2022-08-18 16:59:58 -04:00
alg.unique [libc++] Make <ranges> non-experimental 2022-08-18 16:59:58 -04:00