nqf
nqf
> vs project generator does not support modules now. gcc15 也不支持吗. 我用gcc15 编译的模块工程, 生成compile_commands.json, clangd 也不识别, 用的 xmake v2.9.7+20250122, 如果我使用clang-20 编译, 然后它生成 compile_commands.json,clangd 可以识别  ``` ➜ test-mod diff compile_commands.json...
> 这个你要问 clangd 了 你看我上面贴了 gcc 和 clang 生成 compile_commands.json, 它们俩 完全不同, `xmake project -k compile_commands` 生成 compile_commands.json, 是 xmake 自己内部实现的吗? 还是 调用了第三方的东西
> 这里只负责生成,不同编译器对应的 flags 和实现机制都不同,生成的 compile_commands 结果肯定都不同 ,至于 clangd 是否支持,你要去问 clangd 。。可以自行对比生成的结果。 好,我刚才用cmake + ninja 编译然后生成compile_commands , clangd 也不识别, 看样子是clangd 的问题
https://github.com/fantasy-peak/simple_http
It cannot support grpc because it does not support http2
I think you can give up now,There seems to be no plan to support http2
``` app().registerHandler( "/stream", [](const HttpRequestPtr & ptr, std::function &&callback) { std::thread([=] { while (true) { std::lock_guard lk(mm); std::cout
You can still use HttpRequestPtr
你不要用框架自带的 run_as_daemo, 你在自己应用程序开头, 自己手动 直接将它变成守护进程, 然后在运行drogon 的相关功能
you can use this https://github.com/fantasy-peak/asio_async_redis , It is a wrapper for the Redis-Plus-Plus asynchronous interface