[PATCH] D24372: [libcxx] Sprinkle constexpr over compressed_pair

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 8 23:08:59 PDT 2016


I believe mclow is working on this

On Sep 8, 2016 9:30 PM, "Keno Fischer" <kfischer at college.harvard.edu> wrote:

> loladiro created this revision.
> loladiro added reviewers: EricWF, mclow.lists.
> loladiro added a subscriber: cfe-commits.
> loladiro set the repository for this revision to rL LLVM.
>
> Without this, unique_ptr is not constant initialized. I've added a test to
> that extent.
> Unfortunately, I believe there's additional work required for C++11, since
> unique_ptr
> uses std::forward internally which is not constexpr until C++14. Doing
> something about
> that is not part of this patch. unique_ptr not being constant initialized
> is particularly problematic
> because it is in libstdc++, so there's applications that rely on this
> behavior.
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D24372
>
> Files:
>   include/memory
>   test/std/utilities/memory/unique.ptr/unique.ptr.runtime/
> unique.ptr.runtime.ctor/constinit.pass.cpp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160909/fc2bb48e/attachment.html>


More information about the cfe-commits mailing list