Debian Codegraph @

examples/doxygen/templ.cpp

raw symbols SCIP
1
2 /*! A template class */
3 template<class T,int i=100> class Test14
4 {
5 public:
6 Test14();
7 Test14(const Test14 &);
8 };
9
10 /*! complete specialization */
11 template<> class Test14<void *,200>
12 {
13 public:
14 Test14();
15 };
16
17 /*! A partial template specialization */
18 template<class T> class Test14<T *> : public Test14<void *,200>
19 {
20 public:
21 Test14();
22 };
23
24 /*! The constructor of the template class*/
25 template<class T,int i> Test14<T,i>::Test14() {}
26
27 /*! The copy constructor */
28 template<class T,int i> Test14<T,i>::Test14(const Test14 &t) {}
29
30 /*! The constructor of the partial specialization */
31 template<class T> Test14<T *>::Test14() {}
32
33 /*! The constructor of the specialization */
34 template<> Test14<void *,200>::Test14() {}
35