include guard

In C and C++, a preprocessor directive used in header files to prevent them from being included multiple times.

Noun

  1. In C and C++, a preprocessor directive used in header files to prevent them from being included multiple times.

Forms

include guards

Synonyms

header guard macro guard

From Wiktionary's contributor community, shared under CC BY-SA 4.0.