I believe mclow is working on this On Sep 8, 2016 9:30 PM, "Keno Fischer" <kfisc...@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 > >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits