Loading...
Searching...
No Matches
visit_impl< INDEX > Class Template Reference

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.
 

Detailed Description

template<size_t INDEX>
class awkward::visit_impl< INDEX >

Class to index tuple at runtime.

Template Parameters
INDEXIndex of the tuple contents.

Member Function Documentation

◆ visit()

template<size_t INDEX>
template<typename CONTENT , typename FUNCTION >
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
CONTENTType of tuple content.
FUNCTIONFunction to be called on the tuple content.

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