Is this a feature?

Sebastiaan Koppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jan 21 06:35:09 PST 2016


module undefined;

unittest
{
	static if (!is(SomethingUndefined!moreUndefined[0] : 
UndefinedThing))
	{
		pragma(msg,"This will compile just fine!");
	}
}


More information about the Digitalmars-d-learn mailing list