]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Partial merge from the cmake branch: Remove compatibility code for old compilers.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 4 Nov 2012 23:10:23 +0000 (23:10 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 4 Nov 2012 23:10:23 +0000 (23:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@27364 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/geometry_info.cc
deal.II/source/lac/constraint_matrix.cc
deal.II/source/lac/vector.inst.in

index 366731bc615ed9fbe015a2b72e8e26c116dae096..ded305d70b3e8d84a51bd36b1d0a3f942dc49591 100644 (file)
@@ -1680,13 +1680,8 @@ template <int spacedim>
 void
 GeometryInfo<dim>::
 alternating_form_at_vertices
-#ifndef DEAL_II_ARRAY_ARG_BUG
     (const Point<spacedim> (&vertices)[vertices_per_cell],
      Tensor<spacedim-dim,spacedim> (&forms)[vertices_per_cell])
-#else
-    (const Point<spacedim> *vertices,
-     Tensor<spacedim-dim,spacedim> *forms)
-#endif
 {
                                    // for each of the vertices,
                                    // compute the alternating form
@@ -1744,52 +1739,32 @@ template
 void
 GeometryInfo<1>::
 alternating_form_at_vertices
-#ifndef DEAL_II_ARRAY_ARG_BUG
 (const Point<1> (&vertices)[vertices_per_cell],
  Tensor<1-1,1> (&forms)[vertices_per_cell])
-#else
-  (const Point<1> *vertices,
-   Tensor<1-1,1> *forms)
-#endif
   ;
 
 template
 void
 GeometryInfo<1>::
 alternating_form_at_vertices
-#ifndef DEAL_II_ARRAY_ARG_BUG
 (const Point<2> (&vertices)[vertices_per_cell],
  Tensor<2-1,2> (&forms)[vertices_per_cell])
-#else
-  (const Point<2> *vertices,
-   Tensor<2-1,2> *forms)
-#endif
   ;
 
 template
 void
 GeometryInfo<2>::
 alternating_form_at_vertices
-#ifndef DEAL_II_ARRAY_ARG_BUG
 (const Point<2> (&vertices)[vertices_per_cell],
  Tensor<2-2,2> (&forms)[vertices_per_cell])
-#else
-  (const Point<2> *vertices,
-   Tensor<2-2,2> *forms)
-#endif
   ;
 
 template
 void
 GeometryInfo<2>::
 alternating_form_at_vertices
-#ifndef DEAL_II_ARRAY_ARG_BUG
 (const Point<3> (&vertices)[vertices_per_cell],
  Tensor<3-2,3> (&forms)[vertices_per_cell])
-#else
-(const Point<3> *vertices,
- Tensor<3-2,3> *forms)
-#endif
   ;
 
 
@@ -1797,13 +1772,8 @@ template
 void
 GeometryInfo<3>::
 alternating_form_at_vertices
-#ifndef DEAL_II_ARRAY_ARG_BUG
 (const Point<3> (&vertices)[vertices_per_cell],
  Tensor<3-3,3> (&forms)[vertices_per_cell])
-#else
-(const Point<3> *vertices,
- Tensor<3-3,3> *forms)
-#endif
  ;
 
 
index abc67f62257a734ce6ce1bb78a787d018e3ef7dc..c038a9323838b7f74e6a3e3a553998751cf9e070 100644 (file)
 #include <algorithm>
 #include <numeric>
 #include <set>
-
-// we only need output streams, but older compilers did not provide
-// them in a separate include file
-#ifdef HAVE_STD_OSTREAM_HEADER
-#  include <ostream>
-#else
-#  include <iostream>
-#endif
+#include <ostream>
 
 DEAL_II_NAMESPACE_OPEN
 
index 77dea0609bd5a1368740de6416e9eb396d4a781d..2ac1a71afb636254146fd067b1e9f95c594b45c3 100644 (file)
@@ -21,12 +21,10 @@ for (S1, S2 : REAL_SCALARS)
   {
     template
       bool
-      Vector<S1>::DEAL_II_MEMBER_OP_TEMPLATE_INST
-      operator==<S2>(const Vector<S2>&) const;
+      Vector<S1>::operator==<S2>(const Vector<S2>&) const;
     template
       S1
-      Vector<S1>::DEAL_II_MEMBER_OP_TEMPLATE_INST
-      operator*<S2>(const Vector<S2>&) const;
+      Vector<S1>::operator*<S2>(const Vector<S2>&) const;
     template
       void Vector<S1>::reinit<S2>(const Vector<S2>&, const bool);
   }
@@ -42,12 +40,10 @@ for (S1, S2 : COMPLEX_SCALARS)
   {
     template
       bool
-      Vector<S1>::DEAL_II_MEMBER_OP_TEMPLATE_INST
-      operator==<S2>(const Vector<S2>&) const;
+      Vector<S1>::operator==<S2>(const Vector<S2>&) const;
     template
       S1
-      Vector<S1>::DEAL_II_MEMBER_OP_TEMPLATE_INST
-      operator*<S2>(const Vector<S2>&) const;
+      Vector<S1>::operator*<S2>(const Vector<S2>&) const;
     template
       void Vector<S1>::reinit<S2>(const Vector<S2>&, const bool);
   }

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.