ttp13.c

来自「linux下编程用 编译软件」· C语言 代码 · 共 21 行

C
21
字号
// { dg-do compile }// Origin: Wolfgang Bangerth <bangerth@dealii.org>// PR c++/15664: Template substitution of template template parametertemplate <int N> struct S {     template<template<typename> class A>     friend void foo(); };  template<template<typename> class A> void foo();  template <typename> struct X {};  int main () {   S<1> s;   foo<X>(); }

⌨️ 快捷键说明

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