[all-commits] [llvm/llvm-project] 15213e: [libc++] Fix negate and bit_xor in C++03 frozen he...

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Mar 26 11:47:37 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15213edadfcc01ae22d36ad5fe7a8f5dd414f82c
      https://github.com/llvm/llvm-project/commit/15213edadfcc01ae22d36ad5fe7a8f5dd414f82c
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2026-03-26 (Thu, 26 Mar 2026)

  Changed paths:
    M libcxx/include/__cxx03/__functional/operations.h

  Log Message:
  -----------
  [libc++] Fix negate and bit_xor in C++03 frozen headers (#187573)

An unintended change in #134045 gave them a default template argument,
which is supposed to be from C++14 onwards.

I considered adding a test for this but it is really awkward to test
that we don't support passing no template argument in C++03 mode and
that provides little value, so I decided against it.



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