From: Michael D. Borghardt (michael_at_[hidden])
Date: 2004-01-03 20:34:47


I kept looking into this and found this

try
{
    unsigned char u = 255;
    boost::numeric_cast<signed char>(u);
    std::cout << "OK" << std::endl;
}
catch (boost::bad_numeric_cast &ex)
{
    std::cout << ex.what() << std::endl;
}

This does not throw an exception.