
28 Mar
2007
28 Mar
'07
9:02 p.m.
I guess gcc 3.4.4 just doesn't cut it these days!
Try commenting out quantity.hpp line 57
Good point. Clearly, for built-in types, this check is not necessary, but could matter quite a bit in, for example, cases like this: quantity<length,boost::numeric::ublas::vector> q; q = q; If commenting the if (this == &source) line out helps, we should probably deal with it since builtin types are likely to represent the vast bulk of actual uses of the library... this_type& operator=(const this_type& source) { if (this == &source) return *this; val_ = source.val_; return *this; } Matthias