Skip to content

operator<=> not defined for __wrap_iter #62486

@ojrosten

Description

@ojrosten

While it is possible to use three way comparison for iterators coming from e.g. std::array, this does not work for e.g. std::vector.

The culprit appears to be that oeprator<=> is not defined for the iterator wrapper used in the latter.

https://godbolt.org/z/fMdYvvz5Y

Metadata

Metadata

Assignees

Labels

libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions