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

Go to the source code of this file.

Classes

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

Namespaces

 tlx
 
 tlx::meta_detail
 

Functions

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