typename5.c
来自「xml大全 可读写调用率很高 xml大全 可读写调用率很高」· C语言 代码 · 共 20 行
C
20 行
// { dg-do compile }// Origin: ariels@compugen.co.il// PR c++/2513: typename handling when scope is dependent as// described in DR108.template <bool flag> struct Select { typedef int Result;};template <template<class> class Pred> struct FindType { typedef typename Select<true>::Result Result;};template <int bits> struct Int { template<typename T> struct RightSize {}; typedef typename FindType<RightSize>::Result type;};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?