Movatterモバイル変換


[0]ホーム

URL:


D Logo
Menu
Search

Library Reference

version 2.111.0

overview

Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinga local clone.

core.stdcpp.new_

D binding to C++
License:
Distributed under theBoost Software License 1.0. (See accompanying file LICENSE)
Authors:
Manu Evans

Sourcecore/stdcpp/new_.d

structnothrow_t;
enumalign_val_t: ulong;
classbad_alloc:core.stdcpp.exception.exception;
@nogc this();
T*cpp_new(T, Args...)(auto ref Argsargs)
if (!is(T == class));
Tcpp_new(T, Args...)(auto ref Argsargs)
if (is(T == class));
voidcpp_delete(T)(T*ptr)
if (!is(T == class));
voidcpp_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-2025 by theD Language Foundation | Page generated byDdoc on Fri Oct 10 22:08:32 2025

[8]ページ先頭

©2009-2025 Movatter.jp