correction: I'm using dmd 0.161 not 0.61 as stated. was reading on template specialization http://www.digitalmars.com/d/template.html but the solution seem too cumbersome for what I'm trying to do, which is to have a few function templates that behaves just like their overloaded non-template counterparts. can that be done?