i have a problem with BCB 4.0:
ver.19990228 array\reduce.h line 302:
#define BZ_DECL_ARRAY_FULL_REDUCE_INDEXVECTOR(fn,reduction) \
template<class T_expr> \
inline \
_bz_typename reduction<_bz_typename T_expr::T_numtype, \
T_expr::rank>::T_resulttype \
fn(_bz_ArrayExpr<T_expr> expr) \
{ \
return _bz_reduceWithIndexVectorTraversal(expr, \
reduction<_bz_typename T_expr::T_numtype, T_expr::rank>()); \
} \
compiler says: Invalid template argument list
to work around this i have to change line 306
from
T_expr::rank>::T_resulttype \
to
int(T_expr::rank)>::T_resulttype
\
i'm not sure this is the best way but it work
====================
Oleg Orlov
orlov@diasoft.ru
--------------------- blitz-bugs list --------------------------------
* To subscribe/unsubscribe: mail to majordomo@monet.uwaterloo.ca, with
"subscribe blitz-bugs" or "unsubscribe blitz-bugs" in the body of the message
* Blitz++ web page: http://oonumerics.org/blitz/
This archive was generated by hypermail 2b29 : Wed Feb 20 2002 - 04:50:08 EST