Good examples of version() algebra in real code

Adam D Ruppe destructionator at gmail.com
Mon May 22 11:23:32 UTC 2023


On Monday, 22 May 2023 at 08:21:50 UTC, Walter Bright wrote:
> Personally, I like to make the core code version-independent 
> and OS-independent and hide the variances in separate modules. 
> Isn't foo() clean looking?

http://dpldocs.info/this-week-in-d/Blog.Posted_2023_02_20.html#static-assert-patterns-arguably-harmful-for-porting


More information about the Digitalmars-d mailing list