OpenLB
1.7
Loading...
Searching...
No Matches
olb
meta
index_of_first_matching< COND, HEAD, TAIL... >
Static Public Attributes
|
List of all members
olb::meta::index_of_first_matching< COND, HEAD, TAIL... > Struct Template Reference
#include <
meta.h
>
Collaboration diagram for olb::meta::index_of_first_matching< COND, HEAD, TAIL... >:
Static Public Attributes
static constexpr unsigned
value
Detailed Description
template<template< typename > typename COND, typename HEAD, typename... TAIL>
struct olb::meta::index_of_first_matching< COND, HEAD, TAIL... >
Definition at line
196
of file
meta.h
.
Member Data Documentation
◆
value
template<template< typename > typename COND, typename HEAD , typename... TAIL>
constexpr unsigned
olb::meta::index_of_first_matching
< COND, HEAD, TAIL... >::value
static
constexpr
Initial value:
= std::conditional_t<
COND<HEAD>::value,
std::integral_constant<unsigned, 0>,
std::integral_constant<unsigned, 1 + index_of_first_matching<COND,TAIL...>
::value
>
>
::value
olb::meta::index_of_first_matching< COND, HEAD, TAIL... >::value
static constexpr unsigned value
Definition
meta.h:197
Definition at line
197
of file
meta.h
.
The documentation for this struct was generated from the following file:
src/core/
meta.h
Generated on Tue Mar 5 2024 09:58:09 for OpenLB by
1.10.0