Visual Studio .NET Klasse mit dem Assi ohne Include-Wächter
-
Hallo,
ist es normal das Visual Studio .NET keinen Include-Wächter mehr in die hpp schreibt wenn man eine Klasse mit dem Assi erstellt? VS 6.0 macht das.Gruß, Tom.
-
Visual Studio.NET fügt ein #pragma once ein.
[msdn]
#pragma once
Specifies that the file will be included (opened) only once by the compiler in a build. This can reduce build times as the compiler will not open and read the file after the first #include of the module.For example,
// header.h
#pragma once
....
See Also
Pragma Directives[/msdn]
-
Ah jetzt ja ....
Thx.