[all-commits] [llvm/llvm-project] 090b65: [libc++] Make __has_array_cookie a variable templa...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Fri Jul 31 04:24:26 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 090b6569b6ed5cabfc84284542c5ce8b51735015
      https://github.com/llvm/llvm-project/commit/090b6569b6ed5cabfc84284542c5ce8b51735015
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2026-07-31 (Fri, 31 Jul 2026)

  Changed paths:
    M libcxx/include/__memory/array_cookie.h
    M libcxx/include/__memory/unique_ptr.h
    M libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/assert.subscript.pass.cpp

  Log Message:
  -----------
  [libc++] Make __has_array_cookie a variable template (#212767)

Using variable templates is slightly faster to compile and more
readable, so we might as well use them.



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