diff options
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; \ |