HOPS
HOPS class reference
Static Public Member Functions | List of all members
hops::apply_to_tuple< 0 > Struct Reference

Class apply_to_tuple<0> More...

#include <MHO_Meta.hh>

Static Public Member Functions

template<typename XTupleType , typename XFunctorType >
static void apply (XTupleType &tup, size_t index, XFunctorType &functor)
 Applies a functor to an element of a tuple at a given index. More...
 

Detailed Description

Class apply_to_tuple<0>

Member Function Documentation

◆ apply()

template<typename XTupleType , typename XFunctorType >
static void hops::apply_to_tuple< 0 >::apply ( XTupleType &  tup,
size_t  index,
XFunctorType &  functor 
)
inlinestatic

Applies a functor to an element of a tuple at a given index.

Template Parameters
XTupleTypeTemplate parameter XTupleType
XFunctorTypeTemplate parameter XFunctorType
Parameters
tupTuple to apply functor on
indexIndex of the tuple's element to operate on
functorFunctor to apply
Note
This is a static function.

The documentation for this struct was generated from the following file: