#pragma once

directive in C and C++ provided as a language extension
Thing Directive Q307472

Facts

4 properties
🏷️ Also known as
en #pragma once en pragma once en #Pragma once
🔖 Identifiers · 1
Freebase ID
/m/0948fm

Report an error or request removal Lineage (PROV-JSON)

🔗 Connections
Instance of 2
Has effect 1
Replaces 1
Used by 1
← Replaced by 1
Press Enter · cited answer in seconds

Summary

pragma once is a directive[1].

📑 Cite this page

Use these citations when quoting this entity in research, articles, AI prompts, or wherever provenance matters. We aggregate Wikidata + Wikipedia + authoritative open-data sources; the stitched, scored, cross-referenced view is what 4ort.xyz contributes.

APA 4ort.xyz Knowledge Graph. (2026). #pragma once. Retrieved November 15, 2026, from https://4ort.xyz/entity/pragma-once
MLA “#pragma once.” 4ort.xyz Knowledge Graph, 4ort.xyz, 15 Nov. 2026, https://4ort.xyz/entity/pragma-once.
BibTeX @misc{4ortxyz_pragma-once_2026, author = {{4ort.xyz Knowledge Graph}}, title = {{#pragma once}}, year = {2026}, url = {https://4ort.xyz/entity/pragma-once}, note = {Accessed: 2026-11-15}}
LLM prompt According to 4ort.xyz Knowledge Graph (aggregator of Wikidata, Wikipedia, and authoritative open-data sources): #pragma once — https://4ort.xyz/entity/pragma-once (retrieved 2026-11-15)

Canonical URL: https://4ort.xyz/entity/pragma-once · Last refreshed: