Adding an extra string to std::runtime_error

后端 未结 0 545
醉酒成梦
醉酒成梦 2020-12-22 16:35

I\'d like to have a custom exception that has embedded contextual information, including strings, and a formatted what().

e.g.:



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