[Qgis-developer] isfinite <-> std::isfinite

Mateusz Loskot mateusz at loskot.net
Sat Sep 30 16:21:43 EDT 2006


Gavin Macaulay wrote:
> Marco,
> 
> Good point about using numeric_limits instead of the C99 isfinite. 
> I'll change the offending code to use numeric_limits (and move it to 
> QgsRect where it better belongs)

+1

By the way, here I asked on the libstdc++ list why non-standard
stuff is pushed into std:: namespaces in libstdc++, so may be you'll
find there something interesting too.

I also believe it's good to know about the future, so here is a few
words what standards compatibility may be expected in C++0x, next
release of C++.

http://www.research.att.com/~bs/C++0x_keynote.pdf

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Qgis-developer mailing list