Skip to content

[libc++] Ensure that passing predicates through reference_wrapper doesn't kill desugars_to optimizations #129312

@ldionne

Description

@ldionne

We do that in e.g. ranges::contains where we pass a reference_wrapper to the projection to ranges::find. Does that turn off optimizations?

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions