Converting some C++ code help.

rookie rookie at rooki.com
Thu Aug 2 10:59:30 PDT 2012


Hi,

I have the following C++ code, what would be the equivalent D 
code;

template <class T>
T Test<T>::pop(int ind)
{
     T pop = T();
     // Stuff that not important
     //....
     return pop;
}

Thanks,
rookie


More information about the Digitalmars-d-learn mailing list