tlx
|
#include <tuple>
#include <tlx/meta/call_foreach_with_index.hpp>
#include <tlx/meta/index_sequence.hpp>
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> | |
void | call_foreach_tuple_with_index_impl (Functor &&f, Tuple &&t, index_sequence< Is... >) |
helper for call_foreach_tuple_with_index | |
template<typename Functor, typename Tuple> | |
void | call_foreach_tuple_with_index (Functor &&f, Tuple &&t) |
Call a generic functor (like a generic lambda) to each components of a tuple together with its zero-based index. |