sizeof4.c
来自「xml大全 可读写调用率很高 xml大全 可读写调用率很高」· C语言 代码 · 共 19 行
C
19 行
// { dg-do compile }// Origin: <anthwil at nortelnetworks dot com>// c++/4933: using sizeof with comma operator as template argumenttemplate<unsigned F>struct Foo {};template<typename T>T makeT();template<typename T,typename U>struct Bar{ typedef Foo < sizeof((makeT<T>(), makeT<U>())) > Type;};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?