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

15

u/EmotionalDamague Apr 09 '26

Embracing modules has worked far better for my current project.

I would prefer either over header only libraries.

The main hiccup for modules on embedded has been debug info being broken in ways I don’t have time to debug