DEV Community

Discussion on: #ifndef guards vs. #pragma once

Collapse
 
cctechwiz profile image
Josh Maxwell

Thanks for the concrete comparisons.

I agree that the most worrisome thing about #pragma once is that it is not standardized, and will probably never be. I definitely prefer the way #pragma once looks in code, but can't justify using something that I have no control over in the long run.