Skip to content

Make duration constructor functions const. #33029

Closed
@quadrupleslap

Description

@quadrupleslap

Is there anything stopping the functions from_millis, from_secs and new in std::time::Duration from being constant?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions