OiO.lk Blog C# Why include guards?
C#

Why include guards?


Include guards, as defined here, are used to prevent loading the same code twice at compilation.

Why can’t my compiler (GCC) detect that it is loading the same code twice and have a sensible default behaviour?



You need to sign in to view this answers

Exit mobile version