You should document any and all exceptions that a member function throws at you so that other programmers know what their code will need to catch.

 
  • 您应该对成员函数向您掷出的所有异常编制文档,以便其它程序员知道他们的代码将需要捕捉什么。
今日热词
目录 附录 查词历史