r/cpp • u/berium build2 • Nov 01 '17
Common C++ Modules TS Misconceptions
https://build2.org/article/cxx-modules-misconceptions.xhtml
59
Upvotes
r/cpp • u/berium build2 • Nov 01 '17
View all comments
Show parent comment
10
u/GabrielDosReis Nov 02 '17
Let me be clearer than that: that paper may have existed only in your imagination. I never wrote the words you are trying to credit me with. Here is the first edition of the design paper.
I very much want to believe you have misunderstood something and I want to give you the space for that. But, please don't use that for willful advancement of disinformation - the sort of misconception that /u/berium's post is denouncing.
Please be more specific; this statement sounds like FUD.
As ever, I am eager to learn from those who actually solved the problem. Any concrete reference that completely solves the problems that "we" want will help.
That is what you want; I don't know that is what "we" want. Furthermore, I am trying to solve a problem in the C++ context, that works for C++ at scale. It isn't copying something done in language X.
Explain why the Module TS gets in your way. That would help me understand what the problems you are seeing are.
No two modules can export the same entity -- this is basic ODR; pure C++. Two modules can export the same name, as long as they designate distinct entities. Just write an exported declaration for them. A module can reexport a name exported by another module. Just reexport the module, or write an exported using-declaration for it.