|
Boost : |
From: rogeeff (rogeeff_at_[hidden])
Date: 2001-12-07 17:09:02
Hi,
Is it possible to make the lexical_cast to throw an exception in this
case:
#include <boost/lexical_cast.hpp>
using namespace boost;
int main()
{
unsigned int i;
i = lexical_cast<unsigned int>( "-10" );
return i;
}
Thank you,
Gennadiy.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk