[all-commits] [llvm/llvm-project] 4d80df: [libc++] Do not forward-declare syncstream outside...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Mar 4 15:17:03 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d80df0922ef7e48d53d4ae382977d8a2ff34ce0
      https://github.com/llvm/llvm-project/commit/4d80df0922ef7e48d53d4ae382977d8a2ff34ce0
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-03-04 (Mon, 04 Mar 2024)

  Changed paths:
    M libcxx/include/iosfwd
    M libcxx/modules/std/iosfwd.inc

  Log Message:
  -----------
  [libc++] Do not forward-declare syncstream outside experimental (#82511)

We only define the classes in `<syncstream>` when experimental library
features are enabled, but we would forward-declare them in `<iosfwd>`
even when they are disabled. This led to confusing error messages about
being unable to instantiate an undefined template.



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