ページの改善
いますぐフォークしてオンライン編集し、このページのプルリクエストを送信します。
Github へのログインが必要です。 これは小さな変更に適しています。
大きな変更を加えたい場合は、通常の cloneの使用をお勧めします。
日本語版について
個人的な学習のために、dlang.orgを翻訳したサイトです。
翻訳に際して、様々なサイトを参考にしています。
rt.util.utility
Contains various utility functions used by the runtime implementation.
License:
Distributed under the
Boost Software License 1.0.
(See accompanying file LICENSE)
Authors:
Jacob Carlborg
Source rt/util/utility.d
- package(rt) nothrow @nogc @safe void
safeAssert
(boolcondition
, scope stringmsg
, scope stringfile
= __FILE__, size_tline
= __LINE__); - Asserts that the given condition is true.The assertion is independent from -release, by abort()ing. Regular assertions throw an AssertError and thus require an initialized GC, which might not be the case (yet or anymore) for the startup/shutdown code in this package (called by CRT ctors/dtors etc.).
Copyright © 1999-2022 by the D Language Foundation | Page generated by
Ddoc on Wed Nov 23 08:33:11 2022