changeset 0 | 83f4b4db085c |
child 2 | 99082257a271 |
-1:000000000000 | 0:83f4b4db085c |
---|---|
1 //desc: test LCleanedup is used to declare a data member of a specialised class |
|
2 //option: |
|
3 //date:2008-8-20 13:51:31 |
|
4 //author:pingorliu |
|
5 //type: CT |
|
6 |
|
7 template<class T> |
|
8 class base |
|
9 { |
|
10 }; |
|
11 template<class TT> |
|
12 struct temp:private base<TInt> |
|
13 { |
|
14 private: |
|
15 |
|
16 } mystruct; |
|
17 |
|
18 template<> |
|
19 struct temp<TInt>:private base<TInt> |
|
20 { |
|
21 private: |
|
22 static LCleanedupPtr<TT> member; //check:LCleanedup,temp<TInt> |
|
23 |
|
24 }; |