> template foo(T) > { > T bar; > static this() > { > bar = something(); > } > } > > mixin foo!(int); That makes sense and I got it to work just fine. Thanks! -- Brian