Skip to content

add a trait for smart pointer dereference #7141

Closed
@thestinger

Description

@thestinger

At a minimum, a trait for obtaining an immutable reference from a type used to overload *x and &*x.

Obtaining mutable references and moving out of pointers can be left out, as they're only useful on a unique pointer type. It can be revisited in the future if a compelling use case ever comes up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions