pmftemp.c

来自「gcc-you can use this code to learn somet」· C语言 代码 · 共 17 行

C
17
字号
// PRMS Id: 4484 (bug 1)// Bug: g++ does not support templates involving method pointers.// Build don't link:struct A {  void f ();};template <class T> voidf (void (T::*p)())		// gets bogus error - use of template parm as aggregate{ }void g (){  f (&A::f);			// gets bogus error - templates and method pointers}

⌨️ 快捷键说明

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