[libcxx-commits] [PATCH] D68365: [libc++] Implement P1004R2 (constexpr std::vector)

Alexander Kornienko via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Aug 10 01:47:07 PDT 2022


alexfh added a comment.

In D68365#3711814 <https://reviews.llvm.org/D68365#3711814>, @philnik wrote:

> @alexfh I'm not sure why this worked before, but you've definitely got UB there: http://eel.is/c++draft/vector#overview-4. Clang is probably less permissive when something is declared `constexpr`.

I see. Thanks for the reference!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68365/new/

https://reviews.llvm.org/D68365



More information about the libcxx-commits mailing list