We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在LogStream.h文件中定义了两个类,一个是class FixedBuffer,另一个是class LogStream。我想请问下,在class LogStream中 “typedef FixedBuffer Buffer”,其中FixedBuffer是什么意思啊? “类<int型>”这样的结构我还没有见过,请问能不能解释下啊》
The text was updated successfully, but these errors were encountered:
这就是模板的一种用法啊,给一个数字,就是一种全新的类型,STL里面也用到了我记得
Sorry, something went wrong.
明白了,是我修改代码的时候不小心把前面的模板声明给删了!感谢!
No branches or pull requests
在LogStream.h文件中定义了两个类,一个是class FixedBuffer,另一个是class LogStream。我想请问下,在class LogStream中 “typedef FixedBuffer Buffer”,其中FixedBuffer是什么意思啊? “类<int型>”这样的结构我还没有见过,请问能不能解释下啊》
The text was updated successfully, but these errors were encountered: