Hi Guys, Working on a SW for New architecture , so wanted to make smaller things more optimal.
One such thing is I'm looking for is removal of frequent #ifdef s, Is there any way to minimise the usage of define/make it more generic.
Scenario:
I have multiple files, which has either #ifdef X or #ifdef not X and under it, there are different functions.
Any way?
One such thing is I'm looking for is removal of frequent #ifdef s, Is there any way to minimise the usage of define/make it more generic.
Scenario:
I have multiple files, which has either #ifdef X or #ifdef not X and under it, there are different functions.
Any way?