Method overloading without Type2Type

Benjamin Thaut code at benjamin-thaut.de
Tue Apr 26 09:41:05 PDT 2011


Am 26.04.2011 13:43, schrieb bearophile:
>> Try to compile that code with "-w" (warnings).
>
> http://d.puremagic.com/issues/show_bug.cgi?id=3836
>
> Bye,
> bearophile

Thanks, but that is not connected to my question at all,
I want to implement the echo method so that the type is passed as a 
template argument, and not as a function argument. While that is 
happening I still want to be able to overload the function.
Is this possible in D 2?

-- 
Kind Regards
Benjamin Thaut


More information about the Digitalmars-d-learn mailing list