Implementation of both.
More...
|
template<typename... T> |
static type | apply (Tuple const &tup, T... t) |
| Filter the tuple and pass along the accumulated result. More...
|
|
|
typedef FilteredTuple | type |
|
template<int I, int D, typename Tuple, typename FilteredTuple, typename Slices, bool Filter = false>
struct stapl::tuple_ops::detail::discard_impl< I, D, Tuple, FilteredTuple, Slices, Filter >
Implementation of both.
- See also
- tuple_ops::discard and
-
tuple_ops::filter.
- Template Parameters
-
I | The index of the input tuple that we are currently considering |
D | The total size of the input tuple |
Tuple | The type of the input tuple |
FilteredTuple | The type of the output tuple |
Slices | The tuple of compile-time integrals that specifies which indices to keep or discard |
Filter | Flag indicating whether to filter or discard the tuple |
◆ apply()
template<int I, int D, typename Tuple , typename FilteredTuple , typename Slices , bool Filter = false>
template<typename... T>
Filter the tuple and pass along the accumulated result.
- Parameters
-
tup | The input tuple |
t | A parameter pack of the constituent parts of the output tuple |
The documentation for this struct was generated from the following file: