
5 Nov
2004
5 Nov
'04
4:02 p.m.
Hubert Holin wrote:
I must say I *strongly* disagree with having code with is C compatible, mainly because this will greatly hamper genericity (or at least convenient and safe parametrisation of code).
Even if the code turns up only feasible for, say, float and double, I strongly believe it should be templated upon the floating type, with specializations if need be. The C library in C++ clothing approach is just plain wrong, IMHO.
I completely agree with this. It makes no sense to have a C++ library that does not use the full strength of the language.