[libcxx-commits] [PATCH] D68365: [libc++] Implement P1004R2	(constexpr std::vector)
    Nikolas Klauser via Phabricator via libcxx-commits 
    libcxx-commits at lists.llvm.org
       
    Wed Aug 10 01:33:00 PDT 2022
    
    
  
philnik added a comment.
@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`.
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