#include <functional>
#include <tuple>
Go to the source code of this file.
|
template<typename FUNC , typename TUPL , int ... INDICES> |
static auto | XrdCl::tuple_call_impl (FUNC &func, TUPL &args, sequence< INDICES... >) -> decltype(func(std::move(std::get< INDICES >(args))...)) |
|
template<typename FUNC , typename ... ARGs> |
static auto | XrdCl::Apply (FUNC &&func, std::tuple< ARGs... > &tup) -> decltype(tuple_call_impl(func, tup, typename seq_gen< sizeof...(ARGs)>::type{})) |
|
template<typename METH , typename OBJ , typename ... ARGs> |
static auto | XrdCl::Apply (METH &&method, OBJ &obj, std::tuple< ARGs... > &tup) -> decltype(Apply(std::bind(method, &obj, std::placeholders::_1, std::placeholders::_2), tup)) |
|