mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:22:58 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
42
sdk/lib/3rdparty/stlport/test/compiler/ttei4.cpp
vendored
Normal file
42
sdk/lib/3rdparty/stlport/test/compiler/ttei4.cpp
vendored
Normal file
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* It is known that this code not compiled by following compilers:
|
||||
* gcc 2.95.3
|
||||
* gcc 3.3.3
|
||||
* gcc 3.4.1
|
||||
* gcc 4.1.1
|
||||
*
|
||||
* It is known that this code compiled by following compilers:
|
||||
*
|
||||
* MSVC 6
|
||||
* MSVC 8 Beta
|
||||
*/
|
||||
|
||||
/*
|
||||
* Indeed this code is wrong: 1. explicit template specialization
|
||||
* have to appear out-of-class; 2. specialized struct C have to
|
||||
* have function f.
|
||||
*
|
||||
*/
|
||||
|
||||
struct A
|
||||
{
|
||||
private:
|
||||
struct B
|
||||
{
|
||||
template <typename T>
|
||||
static void f( T& ) {}
|
||||
|
||||
template <bool V>
|
||||
struct C
|
||||
{
|
||||
template <typename T>
|
||||
static void f( T& ) {}
|
||||
};
|
||||
|
||||
template <>
|
||||
struct C<true>
|
||||
{
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue