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\}}\)
Public Types | List of all members
internal::ProductTypeImpl< T, U > Struct Template Reference

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

Public Types

using type = decltype(std::declval< T >() *std::declval< U >())
 

Detailed Description

template<typename T, typename U>
struct internal::ProductTypeImpl< T, U >

A struct that implements the default product type resulting from the multiplication of two types.

Note
Care should be taken when T or U have qualifiers (const or volatile) or are lvalue or rvalue references! It is recommended that specialization of this class is only made for unqualified (fully stripped) types and that the ProductType class be used to determine the result of operating with (potentially) qualified types.
Author
Wolfgang Bangerth, Jean-Paul Pelteret, 2017

Definition at line 364 of file template_constraints.h.

Member Typedef Documentation

◆ type

template<typename T , typename U >
using internal::ProductTypeImpl< T, U >::type = decltype(std::declval<T>() * std::declval<U>())

Definition at line 366 of file template_constraints.h.


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