c ++标准表示logic_error可以在运行时检测到runtime_error在运行时检测到.
但它是如何工作的?我的问题是如何在运行时检测logic_error.你能给我一些例子吗?谢谢你的帮助〜!
c++ exception
c++ ×1
exception ×1