unify2.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 28 行

C
28
字号
// Build don't link:template <class T>struct S{  typedef T S_Type;};template <class T>void foo(typename S<T>::S_Type){}template <class T>void foo(T){}struct S2 {};void bar(){  foo(S2()); // We can't unify with the first foo, so we get the second.}

⌨️ 快捷键说明

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