template <typename ...Args> void f(Args... args){ [args...](){ }(); } g++-4.5 -std=c++0x に投げ込むと capture_pack.cpp: In function ‘void f(Args ...)’: capture_pack.cpp:3:8: error: expected ‘,’ before ‘...’ token capture_pack.cpp:3:8: error: expected identi</typename>…
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.