diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-07-06 17:42:14 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-07-06 17:42:14 +0000 |
commit | 774c79ed27652b3e1006f2e2ceff25b6c9c1a5a7 (patch) | |
tree | f550435d2d6add47e36d5b9e6c42f6fa198bdc90 /libstdc++/std/valarray_meta.h | |
parent | 54c6909334dcb567804859c03930d61b162f04d8 (diff) | |
download | gcc-774c79ed27652b3e1006f2e2ceff25b6c9c1a5a7.zip gcc-774c79ed27652b3e1006f2e2ceff25b6c9c1a5a7.tar.gz gcc-774c79ed27652b3e1006f2e2ceff25b6c9c1a5a7.tar.bz2 |
gslice_array.h, [...]: Do not paste anything after 'operator' keyword.
* std/gslice_array.h, std/indirect_array.h, std/mask_array.h,
std/slice_array.h, std/std_valarray.h, std/valarray_meta.h:
Do not paste anything after 'operator' keyword.
From-SVN: r34890
Diffstat (limited to 'libstdc++/std/valarray_meta.h')
-rw-r--r-- | libstdc++/std/valarray_meta.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libstdc++/std/valarray_meta.h b/libstdc++/std/valarray_meta.h index 48fb213..9ad0265 100644 --- a/libstdc++/std/valarray_meta.h +++ b/libstdc++/std/valarray_meta.h @@ -755,7 +755,7 @@ _Expr<_Dom,_Tp>::operator! () const #define _DEFINE_EXPR_UNARY_OPERATOR(_Op, _Name) \ template<class _Dom, typename _Tp> \ inline _Expr<_UnClos<_Name,_Expr,_Dom>,_Tp> \ -_Expr<_Dom,_Tp>::operator##_Op () const \ +_Expr<_Dom,_Tp>::operator _Op () const \ { \ typedef _UnClos<_Name,_Expr,_Dom> _Closure; \ return _Expr<_Closure,_Tp> (_Closure (this->_M_closure)); \ @@ -772,7 +772,7 @@ _Expr<_Dom,_Tp>::operator##_Op () const \ template<class _Dom1, class _Dom2> \ inline _Expr<_BinClos<_Name,_Expr,_Expr,_Dom1,_Dom2>, \ typename _Name<typename _Dom1::value_type>::result_type> \ -operator##_Op (const _Expr<_Dom1,typename _Dom1::value_type>& __v, \ +operator _Op (const _Expr<_Dom1,typename _Dom1::value_type>& __v, \ const _Expr<_Dom2,typename _Dom2::value_type>& __w) \ { \ typedef typename _Dom1::value_type _Arg; \ @@ -784,7 +784,7 @@ operator##_Op (const _Expr<_Dom1,typename _Dom1::value_type>& __v, \ template<class _Dom> \ inline _Expr<_BinClos<_Name,_Expr,_Constant,_Dom,typename _Dom::value_type>, \ typename _Name<typename _Dom::value_type>::result_type> \ -operator##_Op (const _Expr<_Dom,typename _Dom::value_type>& __v, \ +operator _Op (const _Expr<_Dom,typename _Dom::value_type>& __v, \ const typename _Dom::value_type& __t) \ { \ typedef typename _Dom::value_type _Arg; \ @@ -796,7 +796,7 @@ operator##_Op (const _Expr<_Dom,typename _Dom::value_type>& __v, \ template<class _Dom> \ inline _Expr<_BinClos<_Name,_Constant,_Expr,typename _Dom::value_type,_Dom>, \ typename _Name<typename _Dom::value_type>::result_type> \ -operator##_Op (const typename _Dom::value_type& __t, \ +operator _Op (const typename _Dom::value_type& __t, \ const _Expr<_Dom,typename _Dom::value_type>& __v) \ { \ typedef typename _Dom::value_type _Arg; \ @@ -808,7 +808,7 @@ operator##_Op (const typename _Dom::value_type& __t, \ template<class _Dom> \ inline _Expr<_BinClos<_Name,_Expr,_ValArray,_Dom,typename _Dom::value_type>, \ typename _Name<typename _Dom::value_type>::result_type> \ -operator##_Op (const _Expr<_Dom,typename _Dom::value_type>& __e, \ +operator _Op (const _Expr<_Dom,typename _Dom::value_type>& __e, \ const valarray<typename _Dom::value_type>& __v) \ { \ typedef typename _Dom::value_type _Arg; \ @@ -820,7 +820,7 @@ operator##_Op (const _Expr<_Dom,typename _Dom::value_type>& __e, \ template<class _Dom> \ inline _Expr<_BinClos<_Name,_ValArray,_Expr,typename _Dom::value_type,_Dom>, \ typename _Name<typename _Dom::value_type>::result_type> \ -operator##_Op (const valarray<typename _Dom::value_type>& __v, \ +operator _Op (const valarray<typename _Dom::value_type>& __v, \ const _Expr<_Dom,typename _Dom::value_type>& __e) \ { \ typedef typename _Dom::value_type _Tp; \ @@ -845,7 +845,7 @@ operator##_Op (const valarray<typename _Dom::value_type>& __v, \ #define _DEFINE_EXPR_RELATIONAL_OPERATOR(_Op, _Name) \ template<class _Dom1, class _Dom2> \ inline _Expr<_BinClos<_Name,_Expr,_Expr,_Dom1,_Dom2>, bool> \ -operator##_Op (const _Expr<_Dom1,typename _Dom1::value_type>& __v, \ +operator _Op (const _Expr<_Dom1,typename _Dom1::value_type>& __v, \ const _Expr<_Dom2,typename _Dom2::value_type>& __w) \ { \ typedef typename _Dom1::value_type _Arg; \ @@ -856,7 +856,7 @@ operator##_Op (const _Expr<_Dom1,typename _Dom1::value_type>& __v, \ template<class _Dom> \ inline _Expr<_BinClos<_Name,_Expr,_Constant,_Dom,typename _Dom::value_type>, \ bool> \ -operator##_Op (const _Expr<_Dom,typename _Dom::value_type>& __v, \ +operator _Op (const _Expr<_Dom,typename _Dom::value_type>& __v, \ const typename _Dom::value_type& __t) \ { \ typedef typename _Dom::value_type _Arg; \ @@ -867,7 +867,7 @@ operator##_Op (const _Expr<_Dom,typename _Dom::value_type>& __v, \ template<class _Dom> \ inline _Expr<_BinClos<_Name,_Constant,_Expr,typename _Dom::value_type,_Dom>, \ bool> \ -operator##_Op (const typename _Dom::value_type& __t, \ +operator _Op (const typename _Dom::value_type& __t, \ const _Expr<_Dom,typename _Dom::value_type>& __v) \ { \ typedef typename _Dom::value_type _Arg; \ @@ -878,7 +878,7 @@ operator##_Op (const typename _Dom::value_type& __t, \ template<class _Dom> \ inline _Expr<_BinClos<_Name,_Expr,_ValArray,_Dom,typename _Dom::value_type>, \ bool> \ -operator##_Op (const _Expr<_Dom,typename _Dom::value_type>& __e, \ +operator _Op (const _Expr<_Dom,typename _Dom::value_type>& __e, \ const valarray<typename _Dom::value_type>& __v) \ { \ typedef typename _Dom::value_type _Tp; \ @@ -889,7 +889,7 @@ operator##_Op (const _Expr<_Dom,typename _Dom::value_type>& __e, \ template<class _Dom> \ inline _Expr<_BinClos<_Name,_ValArray,_Expr,typename _Dom::value_type,_Dom>, \ bool> \ -operator##_Op (const valarray<typename _Dom::value_type>& __v, \ +operator _Op (const valarray<typename _Dom::value_type>& __v, \ const _Expr<_Dom,typename _Dom::value_type>& __e) \ { \ typedef typename _Dom::value_type _Tp; \ |