|
Title. I know we want to discourage narrowing casts where possible, but usually these utility functions are lowered with the Another reason I ask is because in all languages I have used, cast utilities are "built-ins" they are not namespaced. |
Answered by
hsutter
Jun 18, 2024
Replies: 2 comments 1 reply
No, you don't have to if you don't want to. |
1 reply
|
In the case of things like For |
0 replies
Answer selected by
DyXel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the case of things like
newwhich are safe and recommended, I go out of my way to make people not have to writecpp2::.For
unsafe_narrow, noisiness is a feature I think, even if it's needed often for C APIs.