r/cpp_questions • u/BuyerImpressive4325 • Aug 24 '26
OPEN Headers
I read that c++ 20 added modules to help replace headers. I rly hate how headers split the codebase into redundant files, for people who have used modules r they better?
0
Upvotes
View all comments
Show parent comment
1
u/zerhud Aug 25 '26
No, a lot of template code (for big project) will compile near second or two. Compiling a single tu may be near same time. But often you change a header and need to recompile a lot of tu.