Skip to content

ignackocom/CppCliStandards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

CppCliStandards

Cpp Cli standard constants

Example of use

#if defined(__cplusplus_cli) && __cplusplus_cli >= CPPCLI
...
CPPCLI code
...
#endif

another example

#if CPLUSPLUSCLI_VERSION == CPPPRECLI
...
CPPPRECLI code
...
#elif CPLUSPLUSCLI_VERSION == CPPCLI
...
CPPCLI code
...
#else
...
other code
...
#endif

another example

printf("cpp cli version      = %ld\n", GET_CPLUSPLUSCLI_VERSION());
printf("cpp cli version year = %ld\n", GET_CPLUSPLUSCLI_VERSION_YEAR());

History of changes ...