Why this code fails to compile with gcc 4.8.5 while it compiles fine with clang
Why this code fails to compile with gcc 4.8.5 while it compiles fine with clang #include<iostream> using namespace std; int main() { const int k = 10; // Capture k by value auto myl = ...