11 Oct
2006
11 Oct
'06
10:17 p.m.
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/>