[all-commits] [llvm/llvm-project] 29e51f: [libc++] Simplify the implementation of LWG2762 (n...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Aug 13 13:18:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 29e51f827bb61af23fb3de4c90a1fad1bb70a04a
      https://github.com/llvm/llvm-project/commit/29e51f827bb61af23fb3de4c90a1fad1bb70a04a
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M libcxx/include/__memory/unique_ptr.h
    M libcxx/test/std/utilities/memory/unique.ptr/iterator_concept_conformance.compile.pass.cpp
    R libcxx/test/std/utilities/memory/unique.ptr/noexcept_operator_star.compile.pass.cpp
    M libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/dereference.single.pass.cpp

  Log Message:
  -----------
  [libc++] Simplify the implementation of LWG2762 (noexcept for unique_ptr) (#102032)

I had originally made some comments in https://reviews.llvm.org/D128214
that were followed when we implemented LWG2762. I don't understand why I
made these comments anymore, but either way it seems like I was wrong
since using `unique_ptr<void>::operator*` should be ill-formed. All
other implementations also make that ill-formed.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list