王西迪
王西迪
add cmake build system tool
``` simdb.hpp: In member function ‘CncrLst::u32 CncrLst::nxt()’: simdb.hpp:519:54: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’ 519 | }while( !headCmpEx( &curHead.asInt, nxtHead.asInt) ); | ^ ```
自动得到系统的位数 在编译前建立bin和lib目录,不然会报错
I Think cmake is a good way to cross platform I can't compile the program on Linux .
能不能加个粘贴图片的功能啊
我没找到例子关于如何正确的给返回客户端,错误码和错误信息,这个应该如何弄比较优雅 ```class GreeterServiceImpl final : public Greeter::Service { Status SayHello(ServerContext* context, const HelloRequest* request, HelloReply* reply) override { if (request->name().empty()) { return Status(grpc::StatusCode::INVALID_ARGUMENT, "Name must not be empty"); } reply->set_message("Hello...