英語版
このページの英語版を見る

core.internal.array.casting

このモジュールには、動的配列をキャストするためのコンパイラサポートが含まれている
License:
Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)
pure @nogc @trusted TTo[] __ArrayCast(TFrom, TTo)(return scope TFrom[] from);
コンパイラはcast(TTo[])TFrom[] の式をこの実装に下げる。 に下げる。これはアラインメントの問題を検出しないことに注意。
Parameters:
TFrom[] from 再解釈キャストする配列
Returns:
fromとして再解釈する。TTo[]