Why does std::function cause the stack to be unwound only when an exception escapes the current function?

前端 未结 0 451
栀梦
栀梦 2021-01-06 05:27

I am trying to work around this std::thread bug, which causes the stack to be unwound in an older version of gcc, by applying the noexcept annotation:



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