On 21 March 2017 at 16:09, Even Rouault <[email protected]> wrote:
> I've considered isinf() but I know we have had issues in some environments
> with isinf() being a macro, and thus std::isinf() ending up
> std::something_different

Yes, indeed. There's been lots of problems, in GEOS too.

BTW, one of anti-macro expand solutions with parentheses (prevents ADL too):
(std::isinf)()
(std::min)()
etc.

> Actually, it seems std::isinf() is C++11 ?

Yes it is.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to