[all-commits] [llvm/llvm-project] 2513b7: [libc++] Implement LWG3549: view_interface need no...

Joseph Loser via All-commits all-commits at lists.llvm.org
Sat Jan 22 19:54:21 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2513b79030636e62a785019bb9477920c8140d85
      https://github.com/llvm/llvm-project/commit/2513b79030636e62a785019bb9477920c8140d85
  Author: Joe Loser <joeloser93 at gmail.com>
  Date:   2022-01-22 (Sat, 22 Jan 2022)

  Changed paths:
    M libcxx/docs/Status/Cxx2bIssues.csv
    M libcxx/include/__ranges/enable_view.h
    M libcxx/include/__ranges/view_interface.h
    M libcxx/test/std/ranges/range.utility/view.interface/view.interface.pass.cpp

  Log Message:
  -----------
  [libc++] Implement LWG3549: view_interface need not inherit from view_base

Implement LWG3549 by making `view_interface` not inherit from `view_base`. Types
are still views if they have a public and unambiguous derivation from
`view_interface`, so adjust the `enable_view` machinery as such to account for
that.

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




More information about the All-commits mailing list