1.抛出异常
throw logic_error("illegal future_value parameter");
2.捕获异常
try { //code.... } catch (logic_error& e) { //bandler.... }
1.抛出异常
throw logic_error("illegal future_value parameter");
2.捕获异常
try { //code.... } catch (logic_error& e) { //bandler.... }