xrootd
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
XrdClApply.hh File Reference
#include <functional>
#include <tuple>
Include dependency graph for XrdClApply.hh:

Go to the source code of this file.

Classes

struct  XrdCl::sequence< Is >
 
struct  XrdCl::seq_gen< I, Ns... >
 
struct  XrdCl::seq_gen< 0, Ns... >
 

Namespaces

namespace  XrdCl
 

Functions

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))