valarray_meta.h (_Expr::operator+): Use qualified id for _Expr template template...
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Mon, 9 Jul 2001 12:21:56 +0000 (12:21 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Mon, 9 Jul 2001 12:21:56 +0000 (12:21 +0000)
* include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
for _Expr template template argument.
(_Expr::operator-): Likewise.
(_Expr::operator~): Likewise.
(_Expr::operator!): Likewise.
(_DEFINE_EXPR_UNARY_OPERATOR): Likewise.

From-SVN: r43862

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/valarray_meta.h

index 3ad6e0a647a098e6975868ef18ece896d9c86bf1..6fd9f64f86d41f8200e5fda0eb98fee741f306c7 100644 (file)
@@ -1,3 +1,12 @@
+2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
+
+       * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
+       for _Expr template template argument.
+       (_Expr::operator-): Likewise.
+       (_Expr::operator~): Likewise.
+       (_Expr::operator!): Likewise.
+       (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
+
 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
 
         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
index 392dc9b7eb0d2534b4de3029570c9370ca7fdbca..002fe5f901b22b51a8d6f3a388186b9c65c4a44d 100644 (file)
@@ -655,16 +655,16 @@ namespace std
         valarray<value_type> operator[] (const valarray<bool>&) const;
         valarray<value_type> operator[] (const valarray<size_t>&) const;
     
-        _Expr<_UnClos<_Unary_plus,_Expr,_Clos>, value_type>
+        _Expr<_UnClos<_Unary_plus,std::_Expr,_Clos>, value_type>
         operator+ () const;
 
-        _Expr<_UnClos<negate,_Expr,_Clos>, value_type>
+        _Expr<_UnClos<negate,std::_Expr,_Clos>, value_type>
         operator- () const;
 
-        _Expr<_UnClos<_Bitwise_not,_Expr,_Clos>, value_type>
+        _Expr<_UnClos<_Bitwise_not,std::_Expr,_Clos>, value_type>
         operator~ () const;
 
-        _Expr<_UnClos<logical_not,_Expr,_Clos>, bool>
+        _Expr<_UnClos<logical_not,std::_Expr,_Clos>, bool>
         operator! () const;
 
         size_t size () const;
@@ -769,16 +769,16 @@ namespace std
     inline _Expr<_UnClos<logical_not,_Expr,_Dom>, bool>
     _Expr<_Dom,_Tp>::operator! () const
     {
-        typedef _UnClos<logical_not,_Expr,_Dom> _Closure;
+        typedef _UnClos<logical_not,std::_Expr,_Dom> _Closure;
         return _Expr<_Closure,_Tp> (_Closure(this->_M_closure));
     }
 
 #define _DEFINE_EXPR_UNARY_OPERATOR(_Op, _Name)                         \
 template<class _Dom, typename _Tp>                                      \
-inline _Expr<_UnClos<_Name,_Expr,_Dom>,_Tp>                             \
+inline _Expr<_UnClos<_Name,std::_Expr,_Dom>,_Tp>                        \
 _Expr<_Dom,_Tp>::operator _Op () const                                 \
 {                                                                       \
-    typedef _UnClos<_Name,_Expr,_Dom> _Closure;                         \
+    typedef _UnClos<_Name,std::_Expr,_Dom> _Closure;                    \
     return _Expr<_Closure,_Tp> (_Closure (this->_M_closure));           \
 }