月亮酱

Results 6 comments of 月亮酱

` For example, I need to call , and I want to handle any exceptions that it could throw. If everything inherits from , this is easy. I only need...

感谢你的回复,除了你指出的问题,还有是示例代码后面的then类型未匹配 ``` .then([](int n, char c) { output_func_name(); printf("n = %d, c = %c\n", (int)n, c); }).then([](char n) { output_func_name(); printf("n = %d\n", (int)n); }) ``` 第一个then的return是void和第二个then的入参不一致~,补充上resolve('0')就没有异常了

When I convert JSON to STL containers such as map or vector, it often requires iterating over all JSON members. If there is dirty data and it is not returned,...

> It should not crash... not if you are handling the errors or catching the exceptions. Sorry, maybe my previous description was not clear. My example code indeed crashes. Here...

I also noticed this issue in the benchmark, and I am looking for a solution.