Closed a-teammate closed 7 years ago
Include guards are error-prone (e.g. if you use the same guard twice) and furthermore are more to type and its said they are even less performant sometimes.
However #pragma once are supported for almost 5 years by the big compilers.
#pragma once
https://en.wikipedia.org/wiki/Pragma_once
Task: Replace in every header file include guards with pragma once
Actually that's a good first bug.
I would like to get involved in the open source community. May I take on this issue?
Sure go ahead :)
Include guards are error-prone (e.g. if you use the same guard twice) and furthermore are more to type and its said they are even less performant sometimes.
However
#pragma once
are supported for almost 5 years by the big compilers.https://en.wikipedia.org/wiki/Pragma_once
Task: Replace in every header file include guards with pragma once