author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Fri, 11 Jun 2010 15:26:22 +0300 | |
changeset 34 | 5fae379060a7 |
parent 31 | ce057bb09d0b |
child 45 | 4b03adbd26ca |
permissions | -rw-r--r-- |
31 | 1 |
/* |
2 |
* It is known that this code not compiled by following compilers: |
|
3 |
* |
|
4 |
* It is known that this code compiled by following compilers: |
|
5 |
* gcc 2.95.3 |
|
6 |
* gcc 3.3.3 |
|
7 |
* gcc 3.4.1 |
|
8 |
* MSVC 6 |
|
9 |
* MSVC 8 |
|
10 |
*/ |
|
11 |
||
12 |
struct A |
|
13 |
{ |
|
14 |
private: |
|
15 |
struct B |
|
16 |
{ |
|
17 |
template <typename T> |
|
18 |
static void f( T& ) {} |
|
19 |
||
20 |
template <bool V> |
|
21 |
struct C |
|
22 |
{ |
|
23 |
}; |
|
24 |
}; |
|
25 |
}; |
|
26 |
||
27 |
template <> |
|
28 |
struct A::B::C<true> |
|
29 |
{ |
|
30 |
}; |
|
31 |