XRootD
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::seq_gen< 0, Ns... >
 
struct  XrdCl::seq_gen< I, Ns... >
 
struct  XrdCl::sequence< Is >
 

Namespaces

 XrdCl
 

Functions

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

Class Documentation

◆ XrdCl::seq_gen< 0, Ns... >

struct XrdCl::seq_gen< 0, Ns... >

template<int ... Ns>
struct XrdCl::seq_gen< 0, Ns... >

Definition at line 43 of file XrdClApply.hh.

+ Collaboration diagram for XrdCl::seq_gen< 0, Ns... >:
Class Members
type

◆ XrdCl::seq_gen< I, Ns... >

struct XrdCl::seq_gen< I, Ns... >

template<int I, int ... Ns>
struct XrdCl::seq_gen< I, Ns... >

Definition at line 36 of file XrdClApply.hh.

+ Collaboration diagram for XrdCl::seq_gen< I, Ns... >:
Class Members
type

◆ XrdCl::sequence

struct XrdCl::sequence

template<int ... Is>
struct XrdCl::sequence< Is >

Definition at line 29 of file XrdClApply.hh.

+ Collaboration diagram for XrdCl::sequence< Is >: