<div dir="ltr"><div style="font-size:12.8px">Hi, </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">my name is José Luis, I have a question regarding backwards compatibility of proposal N3922 for C++17:</div><div style="font-size:12.8px"><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3922.html" target="_blank">http://www.open-std.org/jtc1/<wbr>sc22/wg21/docs/papers/2014/<wbr>n3922.html</a><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">That change introduces a new incompatibility with C++14 and C++11, as it is stated in the C++17 Standard:</div><div style="font-size:12.8px">C.4.3 Clause 10: declarations [diff.cpp14.dcl.dcl]</div><div style="font-size:12.8px"><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#2038" target="_blank">http://www.open-std.org/jtc1/<wbr>sc22/wg21/docs/cwg_defects.<wbr>html#2038</a><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Is it considered a New Feature or a Defect Report?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am asking this because Clang (and GCC) adopted the new rule not only for C++17 but also for C++14 and C++11. In fact, I found this comment: </div><span style="font-size:12.8px">This is a backwards-incompatible change that is applied to all language versions that allow type deduction from auto (per the request of the C++ committee).</span><div style="font-size:12.8px"><a href="http://clang.llvm.org/cxx_status.html#n3922" target="_blank">http://clang.llvm.org/cxx_<wbr>status.html#n3922</a><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Can someone please confirm and explain why the C++ committee requested compiler developers to treat this new rule as a Defect Report and, hence, to fix/change it also in C++11 and C++14?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Or is it just a New Feature and, therefore, C++11 and C++14 should behave in a different way to C++17 as stated in the corresponding published standard versions?<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Many Thanks for your Help and Time.<br></div><div style="font-size:12.8px">Best Regards, </div><div style="font-size:12.8px"><br></div><div><div class="gmail_signature"><div dir="ltr"><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">José Luis March Cabrelles, PhD<div>Software Quality Engineer</div><div><a href="mailto:joseluis@solidsands.nl" target="_blank">joseluis@solidsands.nl</a></div><div>Solid Sands B.V. </div>Mobile: +31 683 97 23 63<br>Office:  +31 202 44 01 99<br><div><a href="http://www.solidsands.nl" target="_blank">www.solidsands.nl</a></div><br></div></div></div></div></div></div></div></div></div></div></div></div>
</div>