decltype doesn't infer the correct return type - vector<int>& instead of vector<int>. That causes the code below to give the wrong result.BTW: Bcc appears to produce my expected resultBTW2: let me know if there is a workaround to help the compiler inference
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...