A solution to the multiple inclusion problem

Jonathan Shapiro shap at delrey.sgi.com
Wed Oct 25 09:03:27 AEST 1989


Why does everybody feel compelled to reinvent this wheel?

The current most widley accepted solution for single inclusion is to
insert a pragma into the header file:

   #pragma once

Jonathan Shapiro
Synergistic Computing Associates



More information about the Comp.lang.c mailing list