Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
a parameter pack
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86 template<class...T> void do_nothing(T...) {} template<class...F> void pol(F const&...f) { [=] { auto x = 42; //int x = 42; do_nothing([&] {return f+x; }...); }; } int main() { pol(1,2,3); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Hangman
rstring
RTTI Test
error_check
ambiguity does not count as ambiguity
ordinary queue
MSVC14 <experimental/generator> header
seh exception
Visual Studio 2015 Compiler Bug: 64bit multiplication
Compile time creation of class member stl container (const std::array) filled with elements.
stackse - search stackoverflow differently
Please log in to post a comment.