version(number) is completely useless

Walter Bright newshound2 at digitalmars.com
Fri Jul 22 18:22:52 UTC 2022


On 7/22/2022 6:36 AM, Hipreme wrote:
> version(SDL.2.5.5)
> ...
> version(SDL.2.5.0) //Ok
> version(SDL.2.4) //not ok

The reader has no idea what actual feature is being turned on or off.


More information about the Digitalmars-d mailing list