FYI my experience with D' version

Jacob Carlborg doob at me.com
Sun Jul 29 12:20:30 PDT 2012


On 2012-07-29 18:42, Adam D. Ruppe wrote:
> I just hit another downside with custom version(): two libraries
> might use the same name to mean different things.
>
> The version has no namespacing, so that's another reason for not
> using it for custom things. The config modules might be the best idea
> for libraries too. I wonder if we could do a default module that is
> easily overridden....

You could use versions which sets bool variables and use static-if. I 
don't know if that's any better.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list