MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1wbel3t/c26_module_improvements/p94nx8b/
r/cpp • u/User_Deprecated • Sep 09 '26
25 comments sorted by
View all comments
Show parent comment
1
I'm fairly certain import statements were never allowed to be generated by a macro expansion even in C++20.
3 u/not_a_novel_account cmake dev Sep 11 '26 import within a preprocessor conditional, and the nominated name itself being an expansion, has always and continues to be valid C++.
3
import within a preprocessor conditional, and the nominated name itself being an expansion, has always and continues to be valid C++.
import
View all comments
Show parent comment
1
u/Nobody_1707 Sep 11 '26
I'm fairly certain import statements were never allowed to be generated by a macro expansion even in C++20.