Cabana 0.8.0-dev
 
Loading...
Searching...
No Matches
Cabana::TypeIndexer< T, Types > Struct Template Reference

Get the index of a field type within a particle type list. More...

#include <Cabana_Fields.hpp>

Static Public Attributes

static constexpr std::size_t index
 Field index.
 

Detailed Description

template<class T, class... Types>
struct Cabana::TypeIndexer< T, Types >

Get the index of a field type within a particle type list.

Member Data Documentation

◆ index

template<class T, class... Types>
std::size_t Cabana::TypeIndexer< T, Types >::index
staticconstexpr
Initial value:
=
TypeIndexerImpl<T, sizeof...( Types ), sizeof...( Types ) - 1,
Types...>::value

Field index.


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