Twitter link for the official C++ Facebook page

World
Joined September 2009
Quick C++ quiz: what does this do? #include <stdio.h> void f(float&&) { puts("float"); } void f(int&&) { puts("int"); } void g(auto &&...v) { (f(v), ...); } int main() { g(1.0f, 2); }
37%Prints "float" then "int"
12%Prints "int" then "float"
26%Order is unspecified
25%Ill-formed or UB
796 votes • Final results
21
27
3
127
Dr. @stroustrup is giving a talk at #GoingNative on #Concepts research he & Andrew Sutton are doing @TAMU. Watch live: channel9.msdn.com/Events/Goi…