version as an expression?

TheGag96 thegag96 at gmail.com
Sun Sep 11 05:38:44 UTC 2022


On Thursday, 8 September 2022 at 21:15:18 UTC, ryuukk_ wrote:
> (snip)

Well, for now, there's at least [this 
hack](https://forum.dlang.org/post/mailman.2048.1462983185.26339.digitalmars-d@puremagic.com) using a `struct` with a `static` `opDispatch`. I [use it](https://github.com/TheGag96/sm64-port/blob/dlang/src/dsrc/util.d#L16-L20) in [some places](https://github.com/TheGag96/sm64-port/blob/dlang/src/dsrc/config.d#L16-L27) in a project of mine.



More information about the Digitalmars-d mailing list