tlx
call_foreach.hpp File Reference
#include <utility>

Go to the source code of this file.

Namespaces

 tlx
 
 tlx::meta_detail
 

Functions

template<typename Functor , typename Arg >
void call_foreach_impl (Functor &&f, Arg &&arg)
 helper for call_foreach: base case More...
 
template<typename Functor , typename Arg , typename... MoreArgs>
void call_foreach_impl (Functor &&f, Arg &&arg, MoreArgs &&...rest)
 helper for call_foreach: general recursive case More...
 
template<typename Functor , typename... Args>
void call_foreach (Functor &&f, Args &&...args)
 Call a generic functor (like a generic lambda) for each variadic template argument. More...