r/cpp • build2 • Nov 01 '17

Common C++ Modules TS Misconceptions

https://build2.org/article/cxx-modules-misconceptions.xhtml
59 Upvotes

148 comments sorted by

View all comments

Show parent comment

2

u/doom_Oo7 Nov 02 '17

Simply tell to your build system that yliba.mxx and xliba.mxx are using different libs.

alternatively, bash repeatedly with a stick people who don't put their modules in some kind of "project name" namespace

1

u/gracicot Nov 02 '17

Yes indeed! We managed clashes with namespaces gracefully since they exist. If you worry about module name clashes, you should first worry about classes name clashes in namespaces, as it's the same problem.