Run Code
|
Code Wall
|
Users
|
Misc
|
Feedback
|
About
|
Login
|
Theme
|
Privacy
not 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([](int){}); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Regex success
Why is vsnprintf Not Writing the Same Number of Characters as strncpy Would?
vc++ bug?
defined(FOO)
#19
vector of bool
dynamic_cast in assert Causing Error
😊
MSVC noexcept - works
#9
Please log in to post a comment.