idea: static scope(failure)

rikki cattermole rikki at cattermole.co.nz
Wed Jan 26 02:07:10 UTC 2022


Perhaps this can be simplified somewhat.

version(compiles) {
	...
} else {
	string str = __errorMessage;
	writeln(str);
}


More information about the Digitalmars-d mailing list