r/cpp • u/According_Leopard_80 • Apr 09 '26
Writing only decoupled code
https://middleraster.github.io/DAG/HeaderOnlyNoForwardDeclarations.html
12
Upvotes
r/cpp • u/According_Leopard_80 • Apr 09 '26
View all comments
Show parent comment
2
u/SuperV1234 https://romeo.training | C++ Mentoring & Consulting Apr 13 '26
That is speaking against cyclical dependencies, but it's absolutely not endorsing people to "strive for header-only code".