Loading...
Searching...
No Matches
visit_impl< 0 > Struct Reference

INDEX reached 0, which means the runtime index did not exist in the tuple. More...

#include <utils.h>

Static Public Member Functions

template<typename CONTENT, typename FUNCTION>
static void visit (CONTENT &, size_t, 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

INDEX reached 0, which means the runtime index did not exist in the tuple.

Member Function Documentation

◆ visit() [1/2]

template<typename CONTENT, typename FUNCTION>
static void visit ( CONTENT & ,
size_t ,
FUNCTION  )
inlinestatic

◆ visit() [2/2]

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 struct was generated from the following file: