⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 partial_spec.cpp

📁 stl的源码
💻 CPP
字号:
/* * It is known that this code not compiled by following compilers: * *   MSVC 6 * * It is known that this code compiled by following compilers: * *   MSVC 8 *   gcc 4.1.1 *//* * This code represent what STLport waits from a compiler which support * the partial template function ordering (!_STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER) */template <class T1>struct template_struct {};template <class T1>int func(T1 p1);template <class T1>int func(template_struct<T1>);int foo(){  int tmp1 = 0;  template_struct<int> tmp2;  func(tmp1);  func(tmp2);  return 0;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -