#include guard
construct in C and C++ for idempotent header inclusion
Press Enter · cited answer in seconds
0 sources
#include guard
Summary
include guard is a software design pattern[1]. #include guard draws 104 Wikipedia views per month (software_design_pattern category, ranking #11 of 27).[2]
Key Facts
-
include guard's instance of is recorded as software design pattern[3].
-
include guard's instance of is recorded as programming idiom[4].
-
include guard's subclass of is recorded as boilerplate[5].
-
include guard's part of is recorded as header file[6].
-
include guard's has part is recorded as include directive[7].
-
include guard's Freebase ID is recorded as /m/07mgsw[8].
-
include guard's facet of is recorded as include directive[9].
-
include guard's replaced by is recorded as #pragma once[10].
-
include guard's has effect is recorded as idempotence[11].
-
include guard's Microsoft Academic ID is recorded as 2776830355[12].