Developer documentation
Version 3.0.3-105-gd3941f44
apply.h File Reference
#include <tuple>
#include <type_traits>
#include "types.h"

Go to the source code of this file.


namespace  MR


template<class F , class T >
void MR::apply (F &&f, T &&t)
 invoke f(x) for each entry in t More...
template<typename F , typename T >
auto MR::unpack (F &&f, T &&t) -> decltype(Unpack< ::std::tuple_size< typename ::std::decay< T >::type >::value >::unpack(::std::forward< F >(f), ::std::forward< T >(t)))
 if t is a tuple of elements a..., invoke f(a...) More...