ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ttei3.cpp
Go to the documentation of this file.
00001 /*
00002  * It is known that this code not compiled by following compilers:
00003  *   gcc 2.95.3
00004  *   gcc 3.3.3
00005  *   gcc 3.4.1
00006  *   gcc 4.1.1
00007  *
00008  * It is known that this code compiled by following compilers:
00009  *
00010  *   MSVC 6
00011  *   MSVC 8 Beta
00012  */
00013 
00014 /*
00015  * Indeed this code is wrong: explicit template specialization
00016  * have to appear out-of-class.
00017  *
00018  */
00019 
00020 struct A
00021 {
00022   private:
00023     struct B
00024     {
00025         template <typename T>
00026         static void f( T& ) {}
00027 
00028         template <bool V>
00029         struct C
00030         {
00031             template <typename T>
00032             static void f( T& ) {}
00033         };
00034 
00035         template <>
00036         struct C<true>
00037         {
00038             template <typename T>
00039             static void f( T& ) {}
00040         };
00041     };
00042 };
00043 

Generated on Sat May 26 2012 04:34:04 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.