
29 Jun
2006
29 Jun
'06
7:18 p.m.
Hi, It would be nice to have a custom cast for numeric values that could cast to the same or better precision. Something like the following wouldn't fail: boost::any a(3.3f) double higher_a = numeric_cast<double>(a); Chris