[Issue 24870] cast() ignore when the dot operator is used
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 21 02:26:18 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24870
elpenguino+D at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |elpenguino+D at gmail.com
--- Comment #1 from elpenguino+D at gmail.com ---
This is behaving as expected. The dot operator has a higher precedence, and
`cast()(const(T*))` == `const(T)*`.
--
More information about the Digitalmars-d-bugs
mailing list