diff --git a/src/cas/example/templInst.cc b/src/cas/example/templInst.cc new file mode 100644 index 000000000..88999c7be --- /dev/null +++ b/src/cas/example/templInst.cc @@ -0,0 +1,26 @@ + +// +// $Id$ +// +// Explcit instantiation of template instances used by the +// example server +// +// + +#include "exServer.h" +#include "gddAppFuncTable.cc" + +// +// Sun C++ 4.1 still appears to be lacking support in this area +// +#if !defined(__SUNPRO_CC) + // + // From Stroustrups's "The C++ Programming Language" + // Appendix A: r.14.9 + // + // This explicitly instantiates the template class's + // member functions into "templInst.o" + // + template class gddAppFuncTable ; +#endif +