Skip to content

[libc++] Use forwarding refs for predicates and projections in algorithms helpersย #133065

@imdj

Description

@imdj

Replace lvalue references with forwarding references for predicates and projections in algorithms helpers.

This point has been raised a couple of times in reviews:

Few helper functions already do this:

Metadata

Metadata

Assignees

No one assigned

    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