RFC: Const and Comparing Types #28
Closed
Ratstail91
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So, currently there's no way to add or remove the const-ness of a type, meaning that
int const == int
will always be false.If there was someway to compare types without also checking const-ness, or checking just the const-ness alone, this might be resolved.
I'm not even sure what the syntax would even look like.
alternatively:
Beta Was this translation helpful? Give feedback.
All reactions