]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename template type and argument name to better reflect their purpose.
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 14 Sep 2017 19:30:05 +0000 (13:30 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 17 Sep 2017 23:56:40 +0000 (17:56 -0600)
include/deal.II/fe/fe_system.h

index ed3cad06e39ef0fc7ee031e9a6a95246914ac0f0..caa792058936f4bf356df522f5ec1a554c0ab85e 100644 (file)
@@ -449,11 +449,11 @@ public:
    * corresponds to this line, but this does not matter because FESystem
    * creates its own copy of the FE_Q object.
    */
-  template <class... FESystems,
-            typename = typename std::enable_if<all_same_as<typename std::decay<FESystems>::type...,
+  template <class... FEPairs,
+            typename = typename std::enable_if<all_same_as<typename std::decay<FEPairs>::type...,
                                                            std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>,
                                                                unsigned int>>::value>::type>
-  FESystem (FESystems&& ... fe_systems);
+  FESystem (FEPairs&& ... fe_pairs);
 
   /**
    * Same as above allowing the following syntax:
@@ -1151,15 +1151,20 @@ namespace
   }
 }
 
+
+
 // We are just forwarding/delegating to the constructor taking a std::initializer_list.
 // If we decide to remove the deprecated constructors, we might just use the variadic
 // constructor with a suitable static_assert instead of the std::enable_if.
 template<int dim, int spacedim>
-template <class... FESystems, typename>
-FESystem<dim,spacedim>::FESystem (FESystems &&... fe_systems)
-  : FESystem<dim, spacedim> ({std::forward<FESystems>(fe_systems)...})
+template <class... FEPairs, typename>
+FESystem<dim,spacedim>::FESystem (FEPairs &&... fe_pairs)
+  :
+  FESystem<dim, spacedim> ({std::forward<FEPairs>(fe_pairs)...})
 {}
 
+
+
 template <int dim, int spacedim>
 FESystem<dim,spacedim>::FESystem
 (const std::initializer_list<std::pair<std::unique_ptr<FiniteElement<dim, spacedim>>,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.