[all-commits] [llvm/llvm-project] 207d58: [libc++] Move guards against std::auto_ptr outside...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Apr 14 11:22:30 PDT 2021


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

  Changed paths:
    M libcxx/include/__memory/auto_ptr.h
    M libcxx/include/__memory/shared_ptr.h
    M libcxx/include/__memory/unique_ptr.h
    M libcxx/include/memory

  Log Message:
  -----------
  [libc++] Move guards against std::auto_ptr outside of auto_ptr.h

This makes it clear that headers like <memory> which include auto_ptr
only do that when compiling under an older Standard, or when the removed
feature is explicitly requested.




More information about the All-commits mailing list