FYI my experience with D' version

Jacob Carlborg doob at me.com
Mon Jul 30 05:32:33 PDT 2012


On 2012-07-30 12:30, torhu wrote:

> version is good for global options that you set with -version on the
> command line.  And can also be used internally in a module, but doesn't
> work across modules.  But it seems you have discovered this the hard way
> already.
>
> I think there was a discussion about this a few years ago, Walter did it
> this way on purpose.  Can't remember the details, though.

He probably wants to avoid the C macro hell.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list