changeset 0 | 83f4b4db085c |
child 2 | 99082257a271 |
-1:000000000000 | 0:83f4b4db085c |
---|---|
1 //desc:test LString is used as a return type of a specialised function of a class for LS13 |
|
2 //option: |
|
3 //date:2008-8-21 14:10:2 |
|
4 //author:pingorliu |
|
5 //type: CT |
|
6 |
|
7 class temp |
|
8 { |
|
9 public: |
|
10 template<class T> |
|
11 const T func()const |
|
12 { |
|
13 } |
|
14 template<> |
|
15 const LString16 func<LString16>()const //check:func,return,LString |
|
16 { |
|
17 foo(); |
|
18 } |
|
19 }; |