Reference documentation for deal.II version Git 0994510114 2020-11-30 18:32:56 -0700
\(\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\}}\)
Static Public Attributes | List of all members
all_same_as< Type, Types > Struct Template Reference

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

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<class Type, class... Types>
struct all_same_as< Type, Types >

This struct is a generalization of std::is_same to template parameter packs and tests if all 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 75 of file template_constraints.h.

Member Data Documentation

◆ value

template<class Type , class... Types>
constexpr bool all_same_as< Type, Types >::value
static
Initial value:
std::is_same<Type, Types>::value...>::value

Definition at line 77 of file template_constraints.h.


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