First Draft: cast(ref T)... as shorthand for *cast(T*)&...

Paul Backus snarwin at gmail.com
Sun Jan 19 17:33:33 UTC 2025


On Saturday, 18 January 2025 at 07:31:40 UTC, Walter Bright wrote:
> Proposed by Manu https://github.com/dlang/dmd/issues/20644
>
> PR: https://github.com/dlang/dmd/pull/20728

Why not just add a simple `reinterpretCast!T` helper function to 
Phobos or druntime?


More information about the dip.development mailing list