Does it increase size of object ?
Template class definitions must always be on .h ?
What does it cost ?
Thank you
Have you tried to find answer in the archives first?
http://groups.google.com/group/comp.lang.c++/browse_thread/thread/1a4b427d09b3eb77/
> Does it increase size of object ?
It may increase size.
> Template class definitions must always be on .h ?
It does not, but it's very/most common approach.
http://www.parashift.com/c++-faq-lite/templates.html#faq-35.14
> What does it cost ?
http://www.parashift.com/c++-faq-lite/inline-functions.html
http://www.parashift.com/c++-faq-lite/templates.html#faq-35.10
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org