Template class giving linker error ...
- by Atul
Hi,
I am having a template class which is exposed, in which I added a method. This class is in namespace A. Now, I am calling this method in another namespace (say B). Initially, compiler gave me linker error saying "unresolved external symbol" for this particular method.
However, if I call this method inside the same namespace (that is A), it links well. After that, it links well in namespace B as well.
Why could this be happening ?
Does this has something to do with the creating Template object of my class ?
Atul