Boost logo

Boost :

From: Chris Weed (chrisweed_at_[hidden])
Date: 2006-06-29 15:18:34

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);


Boost list run by bdawes at, gregod at, cpdaniel at, john at