Hi,
How can I define template formal parameter as T*?
I read in some textbook that if I define template with formal parameter T* then
actual parameter can be of the type T1*,provided that T1 is derived from T
Thank you in advance
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: template formal parameterThreaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |