r/cpp • MSVC Game Dev PM • Sep 14 '20

Standard C++20 Modules support with MSVC in Visual Studio 2019 version 16.8 | C++ Team Blog

https://devblogs.microsoft.com/cppblog/standard-c20-modules-support-with-msvc-in-visual-studio-2019-version-16-8/
254 Upvotes

128 comments sorted by

View all comments

Show parent comments

4

u/MonokelPinguin Sep 15 '20

For such a thing to work, you basically need the strong ownership model. This is not about what symbols you import, but if the symbol causes linker conflicts, when it is defined in more than one library. With the weak model, this always causes linker issues. With the strong model it only causes issues, when you import both symbols in the same unit.

2

u/atimholt Sep 15 '20

Indeed. I'm not a fan of half-efforts that actually make things impossible, however rarely the need arises.