英語版
このページの英語版を見る
core.stdcpp.new_
C++へのDバインディング
License:
Distributed under the
Boost Software License 1.0.
(See accompanying file LICENSE)
Authors:
Manu Evans
- 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
); - ::operator new(std::size_t count)へのバインディング
- nothrow @nogc void*
__cpp_new_nothrow
(size_tcount
, ref const(nothrow_t) = std_nothrow); - のバインディング ::operator new(std::size_t count, const std::nothrow_t&)
- @nogc void
__cpp_delete
(void*ptr
); - バインディング ::operator delete(void* ptr)
- nothrow @nogc void
__cpp_delete_nothrow
(void*ptr
, ref const(nothrow_t) = std_nothrow); - のバインディング ::operator delete(void* ptr, const std::nothrow_t& tag)
Copyright © 1999-2024 by the D Language Foundation
DEEPL APIにより翻訳、ところどころ修正。
このページの最新版(英語)
このページの原文(英語)
翻訳時のdmdのバージョン: 2.108.0
ドキュメントのdmdのバージョン: 2.109.1
翻訳日付 :
HTML生成日時:
編集者: dokutoku