Date: 2007-11-28 17:38:36
Are there lexical specializations such as (approximately):
long lexical_cast( const std::string & refStr )
return atoi( refStr.c_str() );
This is of course less strict and clean as the general templates, but
may be faster, with smaller code, given there are very fast
implementations of atoi. This can be easily generalized to strtod() etc...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk