Angel Tsankov wrote:
Can someone recommend a way to create "unique" identifiers for use in
guard macros:
#if !defined (UNIQUE_GUARD)
#define UNIQUE_GUARD
...
#endif //!defined UNIQUE_GUARD
In VC6 MS tacked a GUID onto the end of the include guard e.g.
#if !defined(FILE_H_INSERT_128_BIT_GUID_HERE)
but in VC7 and later they came up with #pragma once.
If you do any MS/COM programming, or (I think) CORBA programming, you
should have a GUID generator.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus