tlx
Loading...
Searching...
No Matches
call_foreach_tuple_with_index.hpp File Reference

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.