I'm looking at some code that doesn't seem to agree with VS2015, but should
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.32002.185
MinimumVisualStudioVersion = 10.0.40219.1
//array defined first
std::vector<ResizeCtrls> m_controls;
//elsewhere later this whole line:
const auto& [hWnd, resizeType, origSize] = m_controls[i];
aside from the errors indicated by the IDE about the bracketed non-constant args, you know errors in an ostensibly working project you just loaded in the IDE and made no changes to,
hWnd (undefined), resizeType (can't deduce 'auto' type, 'initializer required')
..I don't see what this nameless, anonymous thing on the left means. A left handed initialization/allocation of some sort? If it were an arg to a function, would make some sense to me. I spent a fair amount of time reading up on the auto keyword, and everything I saw had something like
auto variablename[...
I know it had to compile for the author, but the logic defies me.