re: #ifndef guards vs. #pragma once VIEW POST


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.

code of conduct - report abuse