Hi,
   Is it necessary to have interface and implementation of a template class in 
the same file?
If I move the implementation to a separate .cpp file and call the member 
function from another file, I get linker error : " undefined reference to ..... 
'"
Things work fine when the implementation is in the same ".h" as the 
interface/declaration.

Can anyone explain what is happening in this case?

Thanks,
Saurabh

 
-----------------------------------------
I don&#39;t <span style="font-weight:bold;font-style:italic;">*mix* </span>well 
socially....
but am readily <span 
style="font-weight:bold;font-style:italic;">*soluble*</span> with 
alcohol...<img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys2/32.gif";>


      

Reply via email to