Skip to content

P2321R2 zip #2252

@StephanTLavavej

Description

@StephanTLavavej

P2321R2 zip

Feature-test macro:

#define __cpp_lib_ranges_zip 202110L

Be sure to implement the resolutions of these LWG issues which patch this feature:

  • LWG-3692 zip_view::iterator's operator<=> is overconstrained
  • LWG-3702 Should zip_transform_view::iterator remove operator<?
  • LWG-3773 views::zip_transform still requires F to be copy_constructible when empty pack
  • LWG-3798 Rvalue reference and iterator_category
  • LWG-3848 adjacent_view, adjacent_transform_view, and slide_view missing base accessor

and the pertinent changes from P2165R4 and P2494R2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cxx23C++23 featurefixedSomething works now, yay!rangesC++20/23 ranges

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions