From: wolf Date: Fri, 26 Jan 2001 08:28:02 +0000 (+0000) Subject: Take over changes 1.2->1.3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c17a4af562ea21141cf0461a1d6820e8fee10f8f;p=dealii-svn.git Take over changes 1.2->1.3 git-svn-id: https://svn.dealii.org/branches/Branch-3-1@3806 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/platforms/ibm_aix_xlc.html b/deal.II/doc/platforms/ibm_aix_xlc.html index c5b811bfc2..355228f38c 100644 --- a/deal.II/doc/platforms/ibm_aix_xlc.html +++ b/deal.II/doc/platforms/ibm_aix_xlc.html @@ -34,22 +34,22 @@

-	 aixterm7:/u/sfb359/q71> cat t.cc
+	 aixterm7:/u/sfb359/q71> cat t.cc
 	     class X {
-	       template  void f() {};
-	       template  void g();
+	       template <int dim> void f() {};
+	       template <int dim> void g();
 	     };
 
-	     template  
+	     template <int dim> 
 	     void X::g () {
-	       void (X::*p) () = &X::template f;
+	       void (X::*p) () = &X::template f<dim>;
 	     };
 
 	     // explicit instantiation
-	     template void X::g<1> ();
-	 aixterm7:/u/sfb359/q71> /usr/vacpp/bin/xlC -c t.cc -o /dev/null
+	     template void X::g<1> ();
+	 aixterm7:/u/sfb359/q71> /usr/vacpp/bin/xlC -c t.cc -o /dev/null
 	     "t.cc", line 8.22: 1540-0130 (S) "X::f" is not declared.
-	     "t.cc", line 7.6: 1540-0700 (I) The previous message was produced while processing "X::g<1>()".
+	     "t.cc", line 7.6: 1540-0700 (I) The previous message was produced while processing "X::g<1>()".
 	 

@@ -58,20 +58,20 @@ A compiler bug prevented us from compiling this snippet:
-	 aixterm7:/u/sfb359/q71> cat t.cc
+	 aixterm7:/u/sfb359/q71> cat t.cc
              namespace std {
-               template                              class allocator {};
-               template > class vector{};
+               template <class _Ty>                             class allocator {};
+               template<class _Ty, class _Ax = allocator<_Ty> > class vector{};
              }
 
              struct X {};
-             template  void g (const std::vector &x);
+             template <int dim> void g (const std::vector<X> &x);
 
              void f ()  {
-               std::vector x;
-               g<1> (x);
+               std::vector<X> x;
+               g<1> (x);
              };
-         aixterm7:/u/sfb359/q71> /usr/vacpp/bin/xlC -c t.cc -o /dev/null
+         aixterm7:/u/sfb359/q71> /usr/vacpp/bin/xlC -c t.cc -o /dev/null
              "t.cc", line 11.9: 1540-0130 (S) "allocator" is not declared.
              "t.cc", line 11.9: 1540-0700 (I) The previous message was produced while processing "g".
 	 
@@ -85,26 +85,26 @@ There's another nasty bug that does not allow such code:
-	 aixterm7:/u/sfb359/q71> cat t.cc
-             #include 
+	 aixterm7:/u/sfb359/q71> cat t.cc
+             #include <vector>
              class X{};
 
              void f() {
-               std::vector v;
-               std::vector::iterator       i1=v.begin();
-               std::vector::const_iterator i2=v.begin();
+               std::vector<X> v;
+               std::vector<X>::iterator       i1=v.begin();
+               std::vector<X>::const_iterator i2=v.begin();
                bool x = (i1 != i2);
              };
-         aixterm7:/u/sfb359/q71> /usr/vacpp/bin/xlC -c t.cc -o /dev/null
+         aixterm7:/u/sfb359/q71> /usr/vacpp/bin/xlC -c t.cc -o /dev/null
              "t.cc", line 8.16: 1540-0218 (S) The call does not match any parameter list for "operator!=".
-             "/usr/vacpp/include/xutility", line 247.14: 1540-1283 (I) "std::_Ptrit::operator!=(const _Myt &) const" is not a viable candidate.
-             "t.cc", line 8.19: 1540-0256 (I) A parameter of type "const std::_Ptrit &" cannot be initialized with an expression of type "std::vector >::const_iterator".
-             "/usr/vacpp/include/utility", line 59.14: 1540-1283 (I) "template  std::operator!=(const pair<_T1,_T2> &, const pair<_T1,_T2> &)" is not a viable candidate.
-             "/usr/vacpp/include/xutility", line 362.14: 1540-1283 (I) "template  std::operator!=(const reverse_iterator<_RI> &, const reverse_iterator<_RI> &)" is not a viable candidate.
-             "/usr/vacpp/include/xutility", line 477.14: 1540-1283 (I) "template  std::operator!=(const istreambuf_iterator<_E,_Tr> &, const istreambuf_iterator<_E,_Tr> &)" is not a viable candidate.
-             "/usr/vacpp/include/iterator", line 167.14: 1540-1283 (I) "template  std::operator!=(const istream_iterator<_Ty,_E,_Tr,_Dist> &, const istream_iterator<_Ty,_E,_Tr,_Dist> &)" is not a viable candidate.
-             "/usr/vacpp/include/xmemory", line 127.14: 1540-1283 (I) "template  std::operator!=(const allocator<_Ty> &, const allocator<_U> &)" is not a viable candidate.
-             "/usr/vacpp/include/vector", line 293.14: 1540-1283 (I) "template  std::operator!=(const vector<_Ty,_A> &, const vector<_Ty,_A> &)" is not a viable candidate.
+             "/usr/vacpp/include/xutility", line 247.14: 1540-1283 (I) "std::_Ptrit<X,int,X *,X &,X *,X &>::operator!=(const _Myt &) const" is not a viable candidate.
+             "t.cc", line 8.19: 1540-0256 (I) A parameter of type "const std::_Ptrit<X,int,X *,X &,X *,X &> &" cannot be initialized with an expression of type "std::vector<X,std::allocator<X> >::const_iterator".
+             "/usr/vacpp/include/utility", line 59.14: 1540-1283 (I) "template <class _T1, class _T2> std::operator!=(const pair<_T1,_T2> &, const pair<_T1,_T2> &)" is not a viable candidate.
+             "/usr/vacpp/include/xutility", line 362.14: 1540-1283 (I) "template <class _RI> std::operator!=(const reverse_iterator<_RI> &, const reverse_iterator<_RI> &)" is not a viable candidate.
+             "/usr/vacpp/include/xutility", line 477.14: 1540-1283 (I) "template <class _E, class _Tr> std::operator!=(const istreambuf_iterator<_E,_Tr> &, const istreambuf_iterator<_E,_Tr> &)" is not a viable candidate.
+             "/usr/vacpp/include/iterator", line 167.14: 1540-1283 (I) "template <class _Ty, class _E, class _Tr, class _Dist> std::operator!=(const istream_iterator<_Ty,_E,_Tr,_Dist> &, const istream_iterator<_Ty,_E,_Tr,_Dist> &)" is not a viable candidate.
+             "/usr/vacpp/include/xmemory", line 127.14: 1540-1283 (I) "template <class _Ty, class _U> std::operator!=(const allocator<_Ty> &, const allocator<_U> &)" is not a viable candidate.
+             "/usr/vacpp/include/vector", line 293.14: 1540-1283 (I) "template <class _Ty, class _A> std::operator!=(const vector<_Ty,_A> &, const vector<_Ty,_A> &)" is not a viable candidate.
 	 

@@ -116,8 +116,8 @@
 	 
              "source/dofs/dof_accessor.cc", line 720.80: 1540-0216 (S) An
-             expression of type "const Vector" cannot be converted to
-             "const Vector". 
+             expression of type "const Vector<double>" cannot be converted to
+             "const Vector<double>".