[all-commits] [llvm/llvm-project] 1f8a6d: [libc++] Fix LWG 2874: Constructor shared_ptr::sha...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Apr 16 06:54:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f8a6dcf128064e2ac75e4ffd227750779d83ade
      https://github.com/llvm/llvm-project/commit/1f8a6dcf128064e2ac75e4ffd227750779d83ade
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-04-16 (Fri, 16 Apr 2021)

  Changed paths:
    M libcxx/docs/Cxx1zStatusIssuesStatus.csv
    M libcxx/include/__memory/shared_ptr.h
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/shared_ptr_Y.pass.cpp

  Log Message:
  -----------
  [libc++] Fix LWG 2874: Constructor shared_ptr::shared_ptr(Y*) should be constrained.

This patch fixes LWG2874. It is based on the original patch by Zoe Carver
originally uploaded at D81417.

Differential Revision: https://reviews.llvm.org/D81417




More information about the All-commits mailing list