variadic-new2.c
来自「用于进行gcc测试」· C语言 代码 · 共 25 行
C
25 行
// { dg-do "run" }// { dg-options "-std=c++0x" }// PR c++/32597#include <assert.h>#include <new>template< class... Args > void f( Args... args ){ { int x = 17; (void)x; } { int y(args...); assert(y == 0); }}int main(){ f();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?