Currently:
version(IncludeTwo)
{
version = IncludeOne;
version = IncludeOther;
}
version(IncludeTwo)
{
... code for any of both versions
}
With a little syntactic sugar this could be:
version(IncludeOne, IncludeOther) // any,
{
...code for any of both versions
}
Comment #1 by schveiguy — 2014-06-10T15:09:32Z
While I share your desire to have this, it will not be happening. Walter has always steadfastly refused to implement such a feature. So I regretfully have to mark as wontfix.
See for example: http://forum.dlang.org/post/[email protected]