-
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. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
No, you don't have to if you don't want to.
|
Beta Was this translation helpful? Give feedback.
-
In the case of things like For |
Beta Was this translation helpful? Give feedback.
In the case of things like
new
which 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.