OpenLB 1.7
Loading...
Searching...
No Matches
Classes | Typedefs
olb::descriptors::tag Namespace Reference

Classes

struct  CATEGORY
 Base of all tags describing the category of a descriptor. More...
 
struct  CUM
 
struct  DEFAULT
 Implicit default category of normal descriptors. More...
 
struct  MRT
 
struct  RTLBM
 

Typedefs

template<typename BASE , typename FALLBACK , typename... FIELDS>
using field_with_base
 Returns first item of FIELDS type list that is derived from BASE.
 

Typedef Documentation

◆ field_with_base

template<typename BASE , typename FALLBACK , typename... FIELDS>
using olb::descriptors::tag::field_with_base
Initial value:
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

Returns first item of FIELDS type list that is derived from BASE.

If such a type list item doesn't exist, FALLBACK is returned.

Definition at line 69 of file descriptorTag.h.