Skip to content

Mark std::mem::size_of and std::mem::size_of_val as const function #38772

Closed
@mzji

Description

@mzji

This allows using size_of and size_of_val in constants contexts. Does this need an RFC?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions