#define EXTERNAL_API_VERSION 1.12.1
std::string version = boost::lexical_cast<std::string>(EXTERNAL_API_VERSION);
This code generates a compilation error:
error C2143: syntax error : missing ')' before 'constant'
error C2059: syntax error : ')'
Are there any simple alternatives for casting number in such format (more then one dot) to string?