Skip to content

Glossary: C++ Beyond the Basics

Include guard (#pragma once)

Also written: #pragma once

`#pragma once` at the top of a header stops it from being included twice in the same file.

Where the book teaches it

Related terms

Class template