|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Functions | |
| template<class Op , class Tuple , size_t... Is> | |
| void | for_each_in_tuple_impl (Op &&op, Tuple &&t, std::index_sequence< Is... >) |
| Apply a function to each element in a tuple. | |
| template<class Op , class Tuple , size_t... Is> | |
| auto | transform_tuple_impl (Op &&op, Tuple &&t, std::index_sequence< Is... >) |
| Transform each element in a tuple. | |
| template<class Pred , class Tuple , size_t... Is> | |
| bool | all_of_tuple_impl (Pred &&pred, const Tuple &t, std::index_sequence< Is... >) |
| Check if all elements satisfy a predicate. | |
| template<class Pred , class Tuple , size_t... Is> | |
| bool | any_of_tuple_impl (Pred &&pred, const Tuple &t, std::index_sequence< Is... >) |
| Check if any element satisfies a predicate. | |
| bool Aleph::zip_index_detail::all_of_tuple_impl | ( | Pred && | pred, |
| const Tuple & | t, | ||
| std::index_sequence< Is... > | |||
| ) |
Check if all elements satisfy a predicate.
| pred | Predicate to test. |
| t | Tuple to check. |
Definition at line 1780 of file ah-zip.H.
References Aleph::maps(), and pred.
Referenced by Aleph::all_of_tuple().
| bool Aleph::zip_index_detail::any_of_tuple_impl | ( | Pred && | pred, |
| const Tuple & | t, | ||
| std::index_sequence< Is... > | |||
| ) |
Check if any element satisfies a predicate.
| pred | Predicate to test. |
| t | Tuple to check. |
Definition at line 1791 of file ah-zip.H.
References Aleph::maps(), and pred.
Referenced by Aleph::any_of_tuple().
| void Aleph::zip_index_detail::for_each_in_tuple_impl | ( | Op && | op, |
| Tuple && | t, | ||
| std::index_sequence< Is... > | |||
| ) |
Apply a function to each element in a tuple.
| op | Callable to apply. |
| t | Tuple to iterate. |
Definition at line 1758 of file ah-zip.H.
Referenced by Aleph::for_each_in_tuple().
| auto Aleph::zip_index_detail::transform_tuple_impl | ( | Op && | op, |
| Tuple && | t, | ||
| std::index_sequence< Is... > | |||
| ) |
Transform each element in a tuple.
| op | Transformation to apply. |
| t | Input tuple. |
Definition at line 1769 of file ah-zip.H.
Referenced by Aleph::transform_tuple().