r/C_Programming • u/Yuki_pop • 23d ago
Could someone explain the practical differences between #pragma once and traditional include guards (#ifndef, #define, and #endif)?
83
Upvotes
r/C_Programming • u/Yuki_pop • 23d ago
View all comments
Show parent comment
2
u/torsten_dev 23d ago
It was proposed in n2896 but didn't gain consensus see section 5.38 and it hasn't been brought up again.