if you have something like this:
int _tmain(int argc, _TCHAR* argv[]) {
int i;
#if (num>99)
i = func();
#else
i= func2();
#endif
return 0;
}
static int func()
{
return 1;
}
static int func2()
{
return 2;
}
Is it reasonable to expect that depending on if num
is bigger or smaller then 99 ether func
or func2
will be removed from the runtime code?
Or would I rather need to also embed the functions in an #if
to achieve this goal?