r/cpp • • Apr 09 '26

Writing only decoupled code

https://middleraster.github.io/DAG/HeaderOnlyNoForwardDeclarations.html
12 Upvotes

17 comments sorted by

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".