Monday, August 17, 2009

c++: #pragma once

#pragma once is a non-standard but widely supported preprocessor directive designed to cause the current source file to be included only once in a single compilation. Thus, #pragma once serves the same purpose as include guards(#ifndef, #endif) but ...

No comments:

Post a Comment