24#ifndef DESCRIPTOR_TAG_H
25#define DESCRIPTOR_TAG_H
31namespace descriptors {
40 template <
unsigned,
unsigned>
41 static constexpr unsigned size()
50template <
typename FIELD>
68template <
typename BASE,
typename FALLBACK,
typename... FIELDS>
typename std::conditional< std::is_void< typename meta::first_type_with_base< BASE, FIELDS... >::type >::value, FALLBACK, typename meta::first_type_with_base< BASE, FIELDS... >::type >::type field_with_base
Returns first item of FIELDS type list that is derived from BASE.
std::is_base_of< DESCRIPTOR_TAG, FIELD > is_tag_field
Top level namespace for all of OpenLB.
Base of a descriptor tag.
static constexpr unsigned size()
Base of all tags describing the category of a descriptor.
Implicit default category of normal descriptors.