Skip to content

当使用 using 声明符列表时,只有最后一个声明符会出现在编辑器提示中 #196

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

Closed
West-Pavilion opened this issue Feb 21, 2024 · 2 comments

Comments

@West-Pavilion
Copy link
Contributor

在C++ 17标准中,允许将多个声明符在一条 using 声明中引入到当前作用域,多个声明符之间使用逗号 ',' 隔开

然而,在这种用法下,只有最后一个声明符会出现在编辑器的提示中

屏幕截图(188)

屏幕截图(189)

下面是对应的测试代码:

当使用 using 声明符列表时,只有最后一个声明符会出现在编辑器提示中.zip

royqh1979 added a commit that referenced this issue Mar 7, 2024
@royqh1979
Copy link
Owner

已修正

@West-Pavilion
Copy link
Contributor Author

经测试,在 2.27.2390 版本的 小熊猫C++ 中,这个 C++17 标准引入的特性未被编辑器的补全提示支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants