|
tlx
|
#include <tlx/meta/index_sequence.hpp>#include <tlx/meta/vmap_foreach_with_index.hpp>#include <tuple>Go to the source code of this file.
Namespaces | |
| namespace | tlx |
| namespace | tlx::meta_detail |
Functions | |
| template<typename Functor, typename Tuple, std::size_t... Is> | |
| auto | vmap_foreach_tuple_with_index_impl (Functor &&f, Tuple &&t, index_sequence< Is... >) |
| helper for vmap_foreach_tuple_with_index: forwards tuple entries | |
| template<typename Functor, typename Tuple> | |
| auto | vmap_foreach_tuple_with_index (Functor &&f, Tuple &&t) |
| Call a generic functor (like a generic lambda) for each variadic template argument and collect the result in a std::tuple<>. | |