[GiNaC-list] Suggestion for the FAQ.

Richard B. Kreckel kreckel at ginac.de
Wed Oct 11 22:17:55 CEST 2006


Sheplyakov Alexei wrote:

>Modify ex_to<T> to check if it is actually possible to convert
>the argument to type T (and add ex_to_unsafe<T> for those who *really*
>know what they are doing)?
>  
>

ex_to<T> is documented as being unsafe. However. that doesn't appear to 
be enough. I actually like Alexei's suggestion. The ca. 800 occurrences 
of ex_to<T> inside the library would have to be converted, though. What 
do others think?

  -richy.

-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>



More information about the GiNaC-list mailing list