From cd1baf952df839361af5e367c7ce1e12fbc90814 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 25 Feb 2015 08:22:38 -0600 Subject: [PATCH] Provide even more specializations of ProductType in non-C++11 mode. --- include/deal.II/base/template_constraints.h | 25 +++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/include/deal.II/base/template_constraints.h b/include/deal.II/base/template_constraints.h index fd4abf7109..d2b0cbc04a 100644 --- a/include/deal.II/base/template_constraints.h +++ b/include/deal.II/base/template_constraints.h @@ -412,6 +412,31 @@ struct ProductType typedef long double type; }; +template <> +struct ProductType +{ + typedef double type; +}; + +template <> +struct ProductType +{ + typedef double type; +}; + +template <> +struct ProductType +{ + typedef float type; +}; + +template <> +struct ProductType +{ + typedef float type; +}; + + #endif -- 2.39.5