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
是不是没用到格式化字符串,后面调用myAssert的时候输出的是不是就只有可变长度的参数信息,而不是包含格式化字符串以及可变长度的参数
The text was updated successfully, but these errors were encountered:
@Pyolar 抱歉回复的晚。
这段代码写的时候应该参考了printf函数的实现。
后面调用myAssert的时候输出的是不是就只有可变长度的参数信息,而不是包含格式化字符串以及可变长度的参数
调用myAssert的时候输出是格式化完毕后的字符串,你可以改写代码尝试一下
Sorry, something went wrong.
@578223592 在clion上运行这个函数,输出的也不是格式化完毕的字符串,难道我调用的有问题吗
@Pyolar 看起来代码是有问题的,没有正确的格式化。 非常感谢提出这个问题。 如果有时间,也欢迎提交一个pr来修正这个问题。
util.h文件中的模板函数format youngyangyang04#67
e33347a
Successfully merging a pull request may close this issue.
是不是没用到格式化字符串,后面调用myAssert的时候输出的是不是就只有可变长度的参数信息,而不是包含格式化字符串以及可变长度的参数
The text was updated successfully, but these errors were encountered: