▲ | bogwog 4 days ago | |||||||||||||
I don't understand what you're saying here. #pragma once does the job that include guards used to do, but with less work, and in a less error prone way. How is it broken, and how is the size of a project relevant? | ||||||||||||||
▲ | motorest 4 days ago | parent [-] | |||||||||||||
> I don't understand what you're saying here. #pragma once does the job that include guards used to do, (...) They don't. They are not C++ and at most they are compiler-specific. It's fine if you opt to not write C++ and instead target specific compilers instead. Just don't pretend it's not frowned upon or kosher. | ||||||||||||||
|