ページの改善
いますぐフォークしてオンライン編集し、このページのプルリクエストを送信します。
Github へのログインが必要です。 これは小さな変更に適しています。
大きな変更を加えたい場合は、通常の cloneの使用をお勧めします。
日本語版について
個人的な学習のために、dlang.orgを翻訳したサイトです。
翻訳に際して、様々なサイトを参考にしています。
rt.cast_
Implementation of array assignment support routines.
License:
Authors:
Walter Bright, Sean Kelly
Source rt/cast_.d
- pure nothrow @nogc Object
_d_toObject
(return scope void*p
); - Given a pointer: If it is an Object, return that Object. If it is an interface, return the Object implementing the interface. If it is null, return null. Else, undefined crash
- pure nothrow @nogc void*
_d_interface_cast
(void*p
, ClassInfoc
); - Attempts to cast Object o to class c. Returns o if successful, null if not.
Copyright © 1999-2022 by the D Language Foundation | Page generated by
Ddoc on Wed Nov 23 08:33:06 2022