typename10.c
来自「用于进行gcc测试」· C语言 代码 · 共 25 行
C
25 行
// { dg-do compile }// Copyright (C) 2006 Free Software Foundation, Inc.// Contributed by Nathan Sidwell 25 Aug 2006 <nathan@codesourcery.com>// Origin: Tobias Schwinger <tschwinger@neoscientists.org>// PR 27787. Too eager to resolve a typenametemplate<typename X>struct x{ template<typename Y> struct y { typedef Y type; };};template<typename A>struct a : x<A>{ template<typename B> typename a::template y<B>::type f(B);};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?