version in enum

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jan 9 05:32:49 PST 2016


On Saturday, 9 January 2016 at 12:43:32 UTC, Øivind wrote:
> Why doesn't this work? Seems like it should:

D defines version to only work on *complete* blocks. You're 
trying to use it on a partial block there.

You'll have to try something else. Perhaps copying the whole enum 
in the different version blocks....


More information about the Digitalmars-d-learn mailing list