janderson wrote: > Sorry, I mean like: > > template <class C> > void Get(C& c) {} > > ... > int X = 0; > Get(X); > > float Y = 0; > Get(Y); > > No need to specify the types. You can certainly pass global symbols like that as template arguments in D.