Boost logo

Boost :

From: remi.chateauneu_at_[hidden]
Date: 2007-11-28 17:38:36


Are there lexical specializations such as (approximately):
template<long, std::string>
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, gregod at, cpdaniel at, john at