[Issue 24837] Can't version() or static if() to include keys in an enum

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 29 09:02:59 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24837

Jonathan M Davis <issues.dlang at jmdavisProg.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |issues.dlang at jmdavisProg.co
                   |                            |m
         Resolution|---                         |DUPLICATE

--- Comment #1 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
I would _love_ to be able to do this, but Walter's response has been what it
often is with version-related stuff - that duplicating the whole thing is less
error-prone and avoids the huge mess that you often get with #ifdefs in C/C++.

*** This issue has been marked as a duplicate of issue 9761 ***

--


More information about the Digitalmars-d-bugs mailing list