Class to index tuple at runtime. More...
#include <utils.h>
Static Public Member Functions | |
template<typename CONTENT , typename FUNCTION > | |
static void | visit (CONTENT &contents, size_t index, FUNCTION fun) |
Accesses the tuple contents at INDEX and calls the given function on it. | |
Class to index tuple at runtime.
INDEX | Index of the tuple contents. |
|
inlinestatic |
Accesses the tuple contents at INDEX
and calls the given function on it.
CONTENT | Type of tuple content. |
FUNCTION | Function to be called on the tuple content. |