月亮酱
月亮酱
can‘t be caught by std::exception &
Hi, my project use valgrind to detect memory leaks, when i called `gum_init_embedded`, valgrind will report memory leaks, even if i call the `gum_deinit_embedded`. my code: ``` int main(int argc,...
``` struct Test { Test() { printf("constructor\n"); }; Test(const Test &) { printf("copy constructor\n"); } Test(Test && m) { printf("move constructor\n"); } ~Test() { printf("destruct \n"); } }; int main()...
test0.cpp中有如下示例 ``` .then([&next](){ output_func_name(); next= newPromise([](Defer d) { output_func_name(); //尝试调用d.resolve(1, 'c'); }); //尝试调用 next.resolve();,或next.resolve(1, 'c'); //Will call next.resole() or next.reject() later //throw 33; //next.reject(55, 66); return next; }) ``` 如果增加`next.resolve();`或者`d.resolve();`...
有没有更详细的文档,include哪些文件,怎么编译单元测试,怎么使用?源码工程中单元测试cmake编译不过,我自己编译了个静态库移植到自己的工程中 ``` #include "emock/emock.hpp" // 待测成员函数 class Foo { public: void bar1(int) { printf("aaaa\n"); } // virtual void bar2(double); // static int bar3(); }; //////////////////////////////////// // 指定调用的mock函数 void EMOCK_API mock_bar1(Foo*...
## Request: Recover from Parsing Errors and Continue JSON Processing ### Description Hi~, I am using `simdjson::ondemand::parser` to parse JSON data, but sometimes my JSON objects may contain malformed elements...