Logo
Explore Help
Sign In
feedc0de/qt-creator
1
0
Fork 0
You've already forked qt-creator
forked from qt-creator/qt-creator
Code Pull Requests Activity
Files
249d8585c42df14c04edf58bacfa656e5497bf6d
qt-creator/tests/auto/cplusplus/cxx11/data/packExpansion.1.cpp

5 lines
87 B
C++
Raw Normal View History

C++11: Make expression-list expand to initializer-list. This will fix a couple more places where brace-init-lists and pack expansions are allowed but are not currently accepted by the parser. For example: foo(abc...); now parses correctly. Change-Id: I93710cef35154fea8437329f3174e4a2d56637b8 Reviewed-by: hjk <qthjk@ovi.com>
2012-09-19 10:09:55 +02:00
template <class ... Args>
int foo(Args args...) {
bar(args..., {args...}, e, f);
}
Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 312ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API