#ifndef guards is always safer than #pragma once because not all compilers understand #pragma once. Compilers supporting #pragma once include VC++, clang, g++, Intel

Advertisements