-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Adjust the UnboundedBuffer::PushData() function to C++ style. #234
Comments
给我试一下? |
Give me a try? |
ok |
OK |
string_view 是C++17才支持的,但是pikiwidb希望使用的是C++11。 |
string_view is only supported by C++17, but pikiwidb hopes to use C++11. |
README 有点过时了,正在重新写。 Cmake 文件有这么一行 SET(CMAKE_CXX_STANDARD 20) |
Which PikiwiDB functionalities are relevant/related to the feature request?
No response
Description
这个接口有点太过于原始了,用起来很别扭,字符数量是靠人来数的:
Proposed solution
其实可以简单封装一下,提供一个这样的接口,使用起来合理一点。
新接口使用方式:
UnboundedBuffer req; req.PushData("RAFT.NODE ADD ");
Alternatives considered
现在总共需要修改的地方也不多,总共 36 处左右,可以考虑换一下?
The text was updated successfully, but these errors were encountered: