M
Markus Kern
Hi!
I've been messing around with a template class. As usual, I do not
want to make the definition of my functions public, but only its
declaration. This was the concept of seperating header-files from the
definitions, wasn't it? So one can offer the headers all along with the
binary objects.
This, of course, fails when using templates, since the linker does not
know what type was used when the processing the template.
Refer to e.g:
http://groups.google.de/group/micro...+template+class&rnum=8&hl=de#a12c8268753b6939
Isn't that completely against the concept of using
header/definition-files?
Thanks for any comments.
I've been messing around with a template class. As usual, I do not
want to make the definition of my functions public, but only its
declaration. This was the concept of seperating header-files from the
definitions, wasn't it? So one can offer the headers all along with the
binary objects.
This, of course, fails when using templates, since the linker does not
know what type was used when the processing the template.
Refer to e.g:
http://groups.google.de/group/micro...+template+class&rnum=8&hl=de#a12c8268753b6939
Isn't that completely against the concept of using
header/definition-files?
Thanks for any comments.