In C++ , when the class is declared in the header & not implemented in
the cpp, the linker is not giving a error untill the method gets
called. How to ensure that all non pure-virtual method declared is
implemented, even when the method/member function not getting called.
Any linker checking can be performed for this purpose?
How can a template class can be splitted in header & source? And to
ensure every method is having an implementation at the compile time?
Also, can a template class be made a shared object (dll) & header
combination, so that it can be linked with a different program, without
recompiling the template class source code (or shipping the template
class source code) ?
I am using boost for some computation. As it is a huge library, with
most of the classes are template, It causes a large compile time for
the program. can it be build as shared library (static / dynamic) and
linked in my program? ...
I am using gcc 4.0.2 version at present...
abir