Reference documentation for deal.II version 9.2.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\}}\)
types_are_equal< T, U > Struct Template Reference

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

Inheritance diagram for types_are_equal< T, U >:
[legend]

Detailed Description

template<typename T, typename U>
struct types_are_equal< T, U >

A type that can be used to determine whether two types are equal. It allows to write code like

template <typename T>
{
call_some_blas_function_for_doubles;
else
do_it_by_hand;
}

This construct is made possible through the existence of a partial specialization of the class for template arguments that are equal.

Definition at line 344 of file template_constraints.h.


The documentation for this struct was generated from the following file:
value
static const bool value
Definition: dof_tools_constraints.cc:433
Vector
Definition: mapping_q1_eulerian.h:32