template class specialization

hi,

i would like to write a basic general class (using template) and an other class that specialize the previous (add specific methods and use a particular type).
How can i do this without using inheritance?
And how should i split my code in cpp and hpp files?

Thanks
Friendship, maybe. http://www.cplusplus.com/doc/tutorial/inheritance/
Else, you would copy everything from the class. With your own hand (or Cmd/Ctrl + C & V :P)
But note that not using any kind of inheritance is uselless and sense-less
Last edited on
Topic archived. No new replies allowed.