Kokkos Node API and Local Linear Algebra Kernels Version of the Day
Typedef container enabling iteration over compile-time type list. More...
Typedef container enabling iteration over compile-time type list.
One can use the typedefs in a Cons to "iterate" recursively over a list of types, that is defined at compile time. CarType may be any type; these are the "values" in the type list. CdrType must be either a Cons or a NullCons.
The names Cons, Car, and Cdr come from Lisp. (Don't write "Lisp" in all caps, unless you are referring to early versions of the language.) A cons is a list. If x is a cons, then (car x) returns the head of the list, and (cdr x) returns the rest of the list.