Skip to content

Replace std::decay with std::remove_cvref after C++20 #7

@AlCash07

Description

@AlCash07

C++20 will have a new trait std::remove_cvref that doesn't have undesirable effect of std::decay on arrays, so maybe it's worth using it for example here:

using DecayedT = std::decay_t<T>;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions