[llvm-bugs] [Bug 38601] static cast a derived class to base class with defined type case operators

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 8 08:36:21 PDT 2021


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

Louis Dionne <ldionne at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
 Fixed By Commit(s)|                            |a3ab5120fd572215afeac190757
                   |                            |834a041dda73a
             Status|CONFIRMED                   |RESOLVED

--- Comment #7 from Louis Dionne <ldionne at apple.com> ---
Fixed by

commit a3ab5120fd572215afeac190757834a041dda73a
Author: Louis Dionne <ldionne.2 at gmail.com>
Date:   Wed Feb 10 16:19:50 2021 -0500

    [libc++] Rewrite the tuple constructors to be strictly Standards conforming

    This nasty patch rewrites the tuple constructors to match those defined
    by the Standard. We were previously providing several extensions in those
    constructors - those extensions are removed by this patch.

    The issue with those extensions is that we've had numerous bugs filed
    against us over the years for problems essentially caused by them. As a
    result, people are unable to use tuple in ways that are blessed by the
    Standard, all that for the perceived benefit of providing them extensions
    that they never asked for.

    Since this is an API break, I communicated it in the release notes.
    I do not foresee major issues with this break because I don't think the
    extensions are too widely relied upon, but we can ship it and see if we
    get complaints before the next LLVM release - that will give us some
    amount of information regarding how much use these extensions have.

    Differential Revision: https://reviews.llvm.org/D96523

-- 
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/20210608/496731ee/attachment-0001.html>


More information about the llvm-bugs mailing list