Some dangerous casts are currently accepted, but shouldn't be: static assert({ int *x = (new int[2]).ptr; double* ary= cast(double *)x; return true; }()); This shouldn't compile. This is vaguely related to bug 6792; it's a type painting issue.
https://github.com/D-Programming-Language/dmd/commit/3055cc6a8b36a2e00c270b0e48e1d1bd2c931f37 https://github.com/D-Programming-Language/dmd/commit/72e750209b370b66157f320d3517c5816a3951d7
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル