mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 20:32:36 +00:00
32 lines
428 B
C++
32 lines
428 B
C++
/*
|
|
* It is known that this code not compiled by following compilers:
|
|
*
|
|
* It is known that this code compiled by following compilers:
|
|
* gcc 2.95.3
|
|
* gcc 3.3.3
|
|
* gcc 3.4.1
|
|
* MSVC 6
|
|
* MSVC 8
|
|
*/
|
|
|
|
struct A
|
|
{
|
|
private:
|
|
struct B
|
|
{
|
|
template <typename T>
|
|
static void f( T& ) {}
|
|
|
|
template <bool V>
|
|
struct C
|
|
{
|
|
};
|
|
};
|
|
};
|
|
|
|
template <>
|
|
struct A::B::C<true>
|
|
{
|
|
};
|
|
|