diff -r 000000000000 -r 42188c7ea2d9 Orb/Doxygen/examples/templ.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Orb/Doxygen/examples/templ.cpp Thu Jan 21 17:29:01 2010 +0000 @@ -0,0 +1,35 @@ + +/*! A template class */ +template class Test +{ + public: + Test(); + Test(const Test &); +}; + +/*! complete specialization */ +template<> class Test +{ + public: + Test(); +}; + +/*! A partial template specialization */ +template class Test : public Test +{ + public: + Test(); +}; + +/*! The constructor of the template class*/ +template Test::Test() {} + +/*! The copy constructor */ +template Test::Test(const Test &t) {} + +/*! The constructor of the partial specilization */ +template Test::Test() {} + +/*! The constructor of the specilization */ +template<> Test::Test() {} +