From e4ae79aa90515ba3fc33f02886232477327103b0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 25 Feb 2015 07:53:53 -0600 Subject: [PATCH] Provide more specializations of ProductType for the non-C++11 case. --- include/deal.II/base/template_constraints.h | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/include/deal.II/base/template_constraints.h b/include/deal.II/base/template_constraints.h index 80a7e1992b..fd4abf7109 100644 --- a/include/deal.II/base/template_constraints.h +++ b/include/deal.II/base/template_constraints.h @@ -388,6 +388,30 @@ struct ProductType typedef double type; }; +template <> +struct ProductType +{ + typedef double type; +}; + +template <> +struct ProductType +{ + typedef double type; +}; + +template <> +struct ProductType +{ + typedef long double type; +}; + +template <> +struct ProductType +{ + typedef long double type; +}; + #endif -- 2.39.5