Skip to content

P0896R4_views_elements: The test isn't compatible with TEST_EVERYTHING #6237

@frederick-vs-ja

Description

@frederick-vs-ja

Currently, P0896R4_views_elements/test.cpp doesn't compile with TEST_EVERYTHING defined.

The reason is elements_view requires the reference type of the underlying view (which is possibly a proxy reference) is tuple-like, but the proxy references used in our test suite aren't tuple-like. Even in C++20 where has-tuple-element was a bit more relaxed, our proxy references failed to satisfy that concept.

Metadata

Metadata

Assignees

No one assigned

    Labels

    rangesC++20/23 rangestestRelated to test code

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions