On Wednesday, 18 October 2017 at 10:17:38 UTC, Biotronic wrote: > > Make them templates, that should solve the problem: > > struct S(T) { > void foo()() { > compileerror; > } > } Yeah I've thought of that. I still would like to have it built-in to the compiler.