Of course ; is expected, just like:
bool isInteger(std::string input)
{
    try
    {
        std::stoi(input);
        return true;
    }
    catch (...)
    {
        return false;
    }
}
4
solved Visual Studio expected ‘;’ after a function [closed]