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

📄 conv7.c

📁 this is a gcc file, you can download it and learn its usetility, for further detail please look at t
💻 C
字号:
// Build don't link:// // Copyright (C) 2001 Free Software Foundation, Inc.// Contributed by Nathan Sidwell 5 May 2001 <nathan@codesourcery.com>// Bug 2726. We ICE'd trying to say something about possibly confusing// conversion overload resolution.// Special Options: -Wconversionclass foo{};template<class T>class bar{public:    operator const T&() const ;    operator T&() ;};template<class T, class Ref, class NodePtr, class ListPtr>class iterator_template{public:    iterator_template();    Ref operator*() const;};struct IdlDeclarator{};typedef bar< IdlDeclarator > IdlDeclarator_bar;intyyparse(){  iterator_template<IdlDeclarator_bar,IdlDeclarator_bar&,foo*,foo*> declIter;  const IdlDeclarator& declarator = *declIter; // WARNING - choosing  return 1;}

⌨️ 快捷键说明

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