Class to index tuple at runtime.
More...
#include <utils.h>
|
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. More...
|
|
template<size_t INDEX>
class awkward::visit_impl< INDEX >
Class to index tuple at runtime.
- Template Parameters
-
INDEX | Index of the tuple contents. |
◆ visit()
static void visit |
( |
CONTENT & |
contents, |
|
|
size_t |
index, |
|
|
FUNCTION |
fun |
|
) |
| |
|
inlinestatic |
Accesses the tuple contents at INDEX
and calls the given function on it.
- Template Parameters
-
CONTENT | Type of tuple content. |
FUNCTION | Function to be called on the tuple content. |
The documentation for this class was generated from the following file:
- /home/runner/work/awkward/awkward/awkward-cpp/header-only/awkward/utils.h