tlx
call_foreach_tuple.hpp File Reference
#include <tuple>
#include <tlx/meta/call_foreach.hpp>
#include <tlx/meta/index_sequence.hpp>

Go to the source code of this file.

Namespaces

 tlx
 
 tlx::meta_detail
 

Functions

template<typename Functor , typename Tuple , std::size_t... Is>
void call_foreach_tuple_impl (Functor &&f, Tuple &&t, index_sequence< Is... >)
 helper for call_foreach_tuple More...
 
template<typename Functor , typename Tuple >
void call_foreach_tuple (Functor &&f, Tuple &&t)
 Call a generic functor (like a generic lambda) to each components of a tuple together with its zero-based index. More...