Blitz logo

Blitz Bugs :

From: jtzhu anarson (jtzhu_now_at_[hidden])
Date: 2003-06-14 02:24:00


I found this in zero.h,in blitz-0.6.tar.gz.
as you can see below:

template<class P_numtype>
class ZeroElement {
public:
...
static T_numtype& zero()
{
        return zero_;
}
...
};

and the macro:

#define BZZERO_DECLARE(T) \
        template<> \
        class ZeroElement<T > { \
        public: \
        static T& getZero() \
        { return zero_; } \
...
        };
dos not march well.
Maybe they should had the same member function: static T& zero().
What's your opinion? :)

_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/