11#ifndef TLX_META_CALL_FOR_RANGE_HEADER
12#define TLX_META_CALL_FOR_RANGE_HEADER
32template <
size_t Index,
size_t Size,
typename Functor>
36 static void call(Functor&& f) {
39 std::forward<Functor>(f));
44template <
size_t Index,
typename Functor>
48 static void call(Functor&& ) { }
54template <
size_t Size,
typename Functor>
57 std::forward<Functor>(f));
61template <
size_t Begin,
size_t End,
typename Functor>
64 std::forward<Functor>(f));
Helper for call_foreach_with_index() to save the index as a compile-time index.