From: Daniel Arndt Date: Sat, 16 Jun 2018 21:02:29 +0000 (+0200) Subject: Move preprocessor check and add comments X-Git-Tag: v9.1.0-rc1~1021^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6769%2Fhead;p=dealii.git Move preprocessor check and add comments --- diff --git a/include/deal.II/fe/fe_system.h b/include/deal.II/fe/fe_system.h index 68e37c7514..854f0c4c37 100644 --- a/include/deal.II/fe/fe_system.h +++ b/include/deal.II/fe/fe_system.h @@ -439,6 +439,7 @@ public: FESystem(const std::vector *> &fes, const std::vector &multiplicities); +# if !defined(__INTEL_COMPILER) || __INTEL_COMPILER >= 1900 /** * Constructor taking an arbitrary number of parameters of type * std::pair>, unsigned @@ -477,9 +478,10 @@ public: * would have expected). * * @warning This feature is not available for Intel compilers - * prior to version 19.0 + * prior to version 19.0. Defining this + * constructor leads to internal compiler errors for Intel compilers prior + * to 18.0. */ -# if !defined(__INTEL_COMPILER) || __INTEL_COMPILER >= 1900 template < class... FEPairs, typename = typename enable_if_all< @@ -499,7 +501,8 @@ public: * @endcode * * @warning This feature is not available for Intel compilers - * prior to version 19.0 + * prior to version 19.0. The constructor is just not selected for overload + * resolution. */ FESystem( const std::initializer_list<