#pragma once is non-standard but a widely available compiler extension.
There are some corner cases w/ symbolic & hard links, and duplicated source files.
This extension is not recommended by Cpp core guidelines and Google style.
Being a compiler-specific extension, '#pragma once' may have surprises though highly unlikely.
Even with all the downsides, the benefits of '#pragma once'
far outweigh the risks (as applied to SCRAM).
#pragma once is non-standard but a widely available compiler extension. There are some corner cases w/ symbolic & hard links, and duplicated source files. This extension is not recommended by Cpp core guidelines and Google style. Being a compiler-specific extension, '#pragma once' may have surprises though highly unlikely.
Even with all the downsides, the benefits of '#pragma once' far outweigh the risks (as applied to SCRAM).