📅  最后修改于: 2022-03-11 14:44:45.015000             🧑  作者: Mango
#include
#include
#include
using namespace std;
void MyFunc(int c)
{
if (c > numeric_limits< char> ::max())
throw invalid_argument("MyFunc argument too large.");
//...
}