r/cpp • u/tartaruga232 MSVC user, r/cpp_modules • Apr 29 '26
Cpp Files Still Help Breaking Build Dependencies of Modules
https://abuehl.github.io/2026/04/23/cpp-files-still-help-breaking-dependencies.htmlNothing spectacular, but it helps to remember that cpp files still provide another level for breaking dependencies.
5
Upvotes
View all comments
Show parent comment
-1
u/tartaruga232 MSVC user, r/cpp_modules Apr 29 '26
At https://github.com/cadifra/cadifra/blob/207131642e9adbd85756de4cde297ac6b1c53f4f/code/Core/Main/Transaction/TransactionImp.cpp#L11
we
import Core.UndoerImp;.Core.Mainis an aggregate of partitions, butCore.UndoerImpis a separate module:https://github.com/cadifra/cadifra/blob/2026.6/code/Core/UndoerImp/UndoerImp.ixx
That one imports
Core.Main.We try to minimize using partitions.