ページの改善
いますぐフォークしてオンライン編集し、このページのプルリクエストを送信します。
Github へのログインが必要です。 これは小さな変更に適しています。
大きな変更を加えたい場合は、通常の cloneの使用をお勧めします。
日本語版について
個人的な学習のために、dlang.orgを翻訳したサイトです。
翻訳に際して、様々なサイトを参考にしています。
core.stdcpp.new_
D binding to C++
License:
Distributed under the
Boost Software License 1.0.
(See accompanying file LICENSE)
Authors:
Manu Evans
Source core/stdcpp/new_.d
- struct
nothrow_t
; - enum
align_val_t
: ulong; - class
bad_alloc
: core.stdcpp.exception.exception; -
- @nogc this();
- T*
cpp_new
(T, Args...)(auto ref Argsargs
)
if (!is(T == class)); - T
cpp_new
(T, Args...)(auto ref Argsargs
)
if (is(T == class)); - void
cpp_delete
(T)(T*ptr
)
if (!is(T == class)); - void
cpp_delete
(T)(Tinstance
)
if (is(T == class)); - @nogc void*
__cpp_new
(size_tcount
); - Binding for ::operator new(std::size_t count)
- nothrow @nogc void*
__cpp_new_nothrow
(size_tcount
, ref const(nothrow_t) = std_nothrow); - Binding for ::operator new(std::size_t count, const std::nothrow_t&)
- @nogc void
__cpp_delete
(void*ptr
); - Binding for ::operator delete(void* ptr)
- nothrow @nogc void
__cpp_delete_nothrow
(void*ptr
, ref const(nothrow_t) = std_nothrow); - Binding for ::operator delete(void* ptr, const std::nothrow_t& tag)
Copyright © 1999-2022 by the D Language Foundation | Page generated by
Ddoc on Wed Nov 23 08:32:09 2022