The __if_not_exists Statement
Visual Studio 2008
__if_not_exists allows you to conditionally include code depending on whether the specified symbol does not exist.
__if_not_exist ( variable ) {
statements
}
where:
__if_not_exists can be applied to identifiers both inside of and outside of a class. When testing for overload functions, you cannot test for a specific form of the overload.
__if_not_exists should only be used within the body of a function. Outside of the body of a function __if_not_exists can only refer to fully defined types.
__if_exists allows you to conditionally include code depending on whether the specified symbol exists.
See __if_exists for an example of how to use __if_not_exists.