|
HOPS
HOPS class reference
|
Class apply_to_tuple - generic apply functor to tuple element (for runtime-indexed access) 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 specified index. More... | |
Class apply_to_tuple - generic apply functor to tuple element (for runtime-indexed access)
|
inlinestatic |
Applies a functor to an element of a tuple at a specified index.
| XTupleType | Template parameter XTupleType |
| XFunctorType | Template parameter XFunctorType |
| tup | Tuple of type XTupleType& |
| index | Index of type size_t |
| functor | Functor of type XFunctorType& |