Skip to content

Strong aliases for small typenum numbers like P1, P2, ..., P4 #1

@Logarithmus

Description

@Logarithmus

Implement some sort of downcasting facility to shorten compile errors. Now P4 is expanded to PInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>>. It would be nice to have struct Plus4, which would be converted to PInt<...> for computation & then converted back to another strong alias.

Implementation will likely involve fighting orphan rule & using macros.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions