Not exactly. You'll also need to include code, which checks if the symbol API_VER is defined before checking it's value. This will make the code bloated. One way to do it is to define a template which takes the symbol in the form of a string, but that would look very ugly.
- static version proposal Gor F. Gyolchanyan
- Re: static version proposal Trass3r
- Re: static version proposal Gor F. Gyolchanyan
- Re: static version proposal Daniel Murphy
- Re: static version proposal Gor F. Gyolchanyan
- Re: static version proposal Daniel Murphy
- version vs. static if Trass3r
- Re: version vs. static if Gor F. Gyolchanyan
- Re: version vs. static if Trass3r
- Re: version vs. static if Gor F. Gyolchanyan
- Re: version vs. static if Adam Ruppe
- Re: version vs. static if Daniel Murphy
- Re: version vs. static if Gor F. Gyolchanyan
- Re: version vs. static if Daniel Murphy
- Re: version vs. static if Gor F. Gyolchanyan
