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

📄 ptrmem3.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: // GROUPS passed pointers-to-memberstemplate<class T> class TemplA {    T t;};template<class T> class TemplB {public:        typedef void (T::*TClassMethod)();private:/*   This line should not crash cuz of the get_decl_list change in this:	* cp-tree.c (list_hash_lookup_or_cons): Make sure the type doesn't	have TYPE_PTRMEMFUNC_P set before we try to build its	CLASSTYPE_ID_AS_LIST.	(get_decl_list): Likewise, when trying to read it.*/    TemplA<TClassMethod> Tmethod;  };class C {    int a;};int main(int, char**) {    TemplB<C> test;}

⌨️ 快捷键说明

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