https://issues.dlang.org/show_bug.cgi?id=21790 --- Comment #2 from Eyal <eyal at weka.io> --- UDAs are quite flexible. Can be pretty much anything. With @uda!int (or any type rather than a template) it will work. --