http://d.puremagic.com/bugzilla/show_bug.cgi?id=54 ------- Comment #1 from oskar.linde at gmail.com 2006-03-16 08:32 ------- Here's another version: template declare(X) { X declare; } typeof(declare!(typeof(""))[0..$]) y; --