Awkward Array: visit_impl< INDEX > Class Template Reference

Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
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. More...

## Detailed Description

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

Class to index tuple at runtime.

Template Parameters

  INDEX | Index of the tuple contents.

## Member Function Documentation

## ◆ 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:

- src/awkward/_v2/cpp-headers/awkward/utils.h