19 Jan
2002
19 Jan
'02
3:08 a.m.
Hi! On Fri, Jan 18, 2002 at 04:11:39PM -0600, Bob McElrath wrote:
But GiNaC should probably throw an exception for the invalid conversion of "a" to a numeric.
The documented behavior of ex_to<> is to have an undefined result if the expression is not of the specified type. If necessary, you have to check this with is_a<> or is_exactly_a<> first. Bye, Christian -- / Coding on PowerPC and proud of it \/ http://www.uni-mainz.de/~bauec002/