OpenLB 1.7
Loading...
Searching...
No Matches
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
staticconstexpr
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>

Definition at line 197 of file meta.h.


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