Information | |
---|---|
has gloss | eng: In the C and C++ programming languages, an #include guard, sometimes called a macro guard, is a particular construct used to avoid the problem of double inclusion when dealing with the #include directive. The addition of #include guards to a header file is one way to make that file idempotent. |
lexicalization | eng: #include guard |
lexicalization | eng: Header guard |
lexicalization | eng: include guard |
instance of | e/Programming paradigm |
Meaning | |
---|---|
Italian | |
lexicalization | ita: include guard |
Russian | |
has gloss | rus: В языках программирования Си и C++ директивы #include guards (защита подключения) иногда называется macro guard (макрозащита) — это особая конструкция, применяемая для избежания проблем с «двойным подключением» при использовании директивы компилятора #include. Добавление #include guards в заголовочный файл является, в общем-то, единственой возможностью сделать этот файл идемпотентным. |
lexicalization | rus: #include guard |
lexicalization | rus: include guard |
Chinese | |
has gloss | zho: 在 C 和 C++ 程式語言中,#include 防範,有時被稱作巨集防範,用於處理 #include 指令時,可避免重複引入的問題。在標頭檔加入 #include 防範是一種讓檔案等冪的方法。 |
lexicalization | zho: Include防範 |
Lexvo © 2008-2025 Gerard de Melo. Contact Legal Information / Imprint