Skip to content

Make type_eq() const. #98

Open
Open
@lonjil

Description

@lonjil

I am trying to commit const fn crimes with Facet, and got stuck on type_eq() not being const. I understand that this might be annoying to implement since PartialEq::eq isn't const yet, but being able to dispatch on type in const fns would be very useful, so it may be worth investigating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions