[PPL-devel] [GIT] ppl/ppl(master): Check for NaNs only when debugging.

Markus Elfring Markus.Elfring at web.de
Mon May 4 06:50:23 CEST 2009


> +#ifndef NDEBUG
>    typedef Checked_Number<T, Extended_Number_Policy> N;
> +#else
> +  typedef Checked_Number<T, WRD_Extended_Number_Policy> N;
> +#endif

I assume that the prefix "WRD" indicates the debug data type.
http://www.cs.unipr.it/ppl/Documentation/devref/ppl-devref-0.10.2-html/structParma__Polyhedra__Library_1_1WRD__Extended__Number__Policy.html

I would prefer to write the preprocessor instruction this way: #ifdef NDEBUG

Regards,
Markus



More information about the PPL-devel mailing list