tlx
call_for_range.hpp File Reference
#include <utility>
#include <tlx/meta/static_index.hpp>

Go to the source code of this file.

Classes

class  CallForRangeImpl< Index, Size, Functor >
 helper for call_for_range: general recursive case More...
 
class  CallForRangeImpl< Index, 0, Functor >
 helper for call_for_range: base case More...
 

Namespaces

 tlx
 
 tlx::meta_detail
 

Functions

template<size_t Size, typename Functor >
void call_for_range (Functor &&f)
 Call a generic functor (like a generic lambda) for the integers [0,Size). More...
 
template<size_t Begin, size_t End, typename Functor >
void call_for_range (Functor &&f)
 Call a generic functor (like a generic lambda) for the integers [Begin,End). More...