void myFunc(T: !=int)(T value)

tsalm tsalm at free.fr
Fri Aug 22 04:20:10 PDT 2008


Hello,

I want to do something like this :

class MyClass
{
   void myFunc(int intValue)
   {
     /* Do something with this int */
   }

   void myFunc(T: !=int)(T valueNotInt)
   {
     /* valueNotInt can not be an int */
   }
}

Thanks in advance,
TSalm


More information about the Digitalmars-d-learn mailing list