tlx
Loading...
Searching...
No Matches
call_foreach.hpp File Reference
#include <utility>

Go to the source code of this file.

Namespaces

namespace  tlx
 
namespace  tlx::meta_detail
 

Functions

template<typename Functor, typename Arg>
void call_foreach_impl (Functor &&f, Arg &&arg)
 helper for call_foreach: base case
 
template<typename Functor, typename Arg, typename... MoreArgs>
void call_foreach_impl (Functor &&f, Arg &&arg, MoreArgs &&... rest)
 helper for call_foreach: general recursive case
 
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.