changeset 0 | 83f4b4db085c |
child 2 | 99082257a271 |
-1:000000000000 | 0:83f4b4db085c |
---|---|
1 //desc: test LCleanedup class used with Classic cleanup PushL in template function for LS15 |
|
2 //option: |
|
3 //date:2008-8-21 15:19:15 |
|
4 //author:pingorliu |
|
5 //type: CT |
|
6 |
|
7 class temp |
|
8 { |
|
9 public: |
|
10 |
|
11 template<class T> |
|
12 void funcL() |
|
13 { |
|
14 |
|
15 } |
|
16 template<> |
|
17 void funcL<TInt>() |
|
18 { |
|
19 LCleanedupHandle<RBar> bar; |
|
20 CFoo* foo2 = CFoo::NewL(); |
|
21 CleanupStack::PushL(foo2); //check:with,LCleaned |
|
22 |
|
23 } |
|
24 |
|
25 }; |