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

partial_spec.cpp
Go to the documentation of this file.
00001 /*
00002  * It is known that this code not compiled by following compilers:
00003  *
00004  *   MSVC 6
00005  *
00006  * It is known that this code compiled by following compilers:
00007  *
00008  *   MSVC 8
00009  *   gcc 4.1.1
00010  */
00011 
00012 /*
00013  * This code represent what STLport waits from a compiler which support
00014  * the partial template function ordering (!_STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER)
00015  */
00016 
00017 template <class T1>
00018 struct template_struct {};
00019 
00020 template <class T1>
00021 int func(T1 p1);
00022 
00023 template <class T1>
00024 int func(template_struct<T1>);
00025 
00026 
00027 int foo()
00028 {
00029   int tmp1 = 0;
00030   template_struct<int> tmp2;
00031   func(tmp1);
00032   func(tmp2);
00033   return 0;
00034 }

Generated on Wed May 23 2012 04:33:06 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.