Strong aliases for small typenum
numbers like P1
, P2
, ..., P4
#1
Labels
enhancement
New feature or request
typenum
numbers like P1
, P2
, ..., P4
#1
Implement some sort of downcasting facility to shorten compile errors. Now
P4
is expanded toPInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>>
. It would be nice to havestruct Plus4
, which would be converted toPInt<...>
for computation & then converted back to another strong alias.Implementation will likely involve fighting orphan rule & using macros.
The text was updated successfully, but these errors were encountered: