changeset 0 | 83f4b4db085c |
child 18 | 99082257a271 |
-1:000000000000 | 0:83f4b4db085c |
---|---|
1 //desc: test LCleanedup is used to declare a local variable of a overload function of a template 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 virtual void func(TInt,TEXT) |
|
16 { |
|
17 } |
|
18 virtual void func(TT b) |
|
19 { |
|
20 static LCleanedupPtr<TT> member; //check:LCleanedup,func |
|
21 } |
|
22 }my; |