mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-23 20:04:46 +08:00
valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When building meta-expressions don't forget to take the contained closures.
1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> * std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When building meta-expressions don't forget to take the contained closures. From-SVN: r30424
This commit is contained in:
parent
e4c4f09a1e
commit
36a6e29fbb
@ -1,3 +1,10 @@
|
||||
1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
|
||||
|
||||
* std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
|
||||
building meta-expressions don't forget to take the contained
|
||||
closures.
|
||||
|
||||
|
||||
1999-10-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
|
||||
|
||||
* std/valarray_meta.h: (_BinClos::_BinClos): Fix typo.
|
||||
|
@ -917,7 +917,7 @@ _Name(const _Expr<_Dom,typename _Dom::value_type>& __e) \
|
||||
{ \
|
||||
typedef typename _Dom::value_type _Tp; \
|
||||
typedef _UnFunClos<_Expr,_Dom> _Closure; \
|
||||
return _Expr<_Closure,_Tp> (_Closure (__e, (_Tp(*)(_Tp))(&_Name))); \
|
||||
return _Expr<_Closure,_Tp>(_Closure(__e(), (_Tp(*)(_Tp))(&_Name))); \
|
||||
} \
|
||||
\
|
||||
template<typename _Tp> \
|
||||
|
Loading…
Reference in New Issue
Block a user