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

📄 explicit4.c

📁 linux下编程用 编译软件
💻 C
字号:
// { dg-do compile }// Copyright (C) 2003 Free Software Foundation, Inc.// Contributed by Nathan Sidwell 27 Jul 2003 <nathan@codesourcery.com>// Failed to spot specialization using a template-id exprtemplate <typename n> class A {};template <int m> class R {};template <int n, int x> struct Trait { enum {m = n}; };template <typename n, typename x> R<Trait<1,1>::m> f(A<x>);template <> R<Trait<1,1>::m> f<int>(A<int>) {return R<1>();}

⌨️ 快捷键说明

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