I\'ve had quite a bit of trouble trying to write a function that checks if a string is a number. For a game I am writing I just need to check if a line from the file I am r
As it was revealed to me in an answer to my related question, I feel you should use boost::conversion::try_lexical_convert