Reference documentation for deal.II version 9.6.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
is_same_as_any_of< Type, Types > Struct Template Reference

#include <deal.II/base/template_constraints.h>

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename Type, class... Types>
struct is_same_as_any_of< Type, Types >

This struct is a generalization of std::is_same to template parameter packs and tests if any of the types in the Types... parameter pack are equal to the Type given as first template argument. The result is stored in the member variable value.

Definition at line 231 of file template_constraints.h.

Member Data Documentation

◆ value

template<typename Type , class... Types>
bool is_same_as_any_of< Type, Types >::value
staticconstexpr
Initial value:

Definition at line 233 of file template_constraints.h.


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