[llvm-bugs] [Bug 39265] LLVM 7 is missing C++14 experimental features

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 20 13:26:55 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=39265

Louis Dionne <ldionne at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ldionne at apple.com
         Resolution|---                         |WONTFIX

--- Comment #5 from Louis Dionne <ldionne at apple.com> ---
We remove experimental implementations to avoid keeping them forever, because:

1. It creates a maintenance burden on our side
2. It causes some users to use the experimental version and others to use the
standardized version, which is bad for the ecosystem
3. It provides the false impression that an experimental feature called
std::experimental::X behaves the same as a feature called std::X, when in
reality those are sometimes (often?) subtly different. This happens because we
make fixes to features between voting them into a TS and voting them to the
real Standard.

(3) is by far the worst offender here.

I understand it can represent some work on your side, however that's why we
have a policy of giving people some time (2 releases) to update their code.
Furthermore, if your code is difficult to change in that regard or if you have
special needs like having to re-certify your code before you can deploy it
(seen in some safety critical domains), you probably should not be using
std::experimental at all, since those are experimental utilities by definition.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210920/4987870a/attachment.html>


More information about the llvm-bugs mailing list