Reusing exception handling code in C++

后端 未结 0 1458
无人及你
无人及你 2021-02-13 01:19

I have these two functions, with duplicated exception treatment, which has the sole purpose of displaying an error message:

void func1() noexcept {
  try {
    d         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题