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 using a local clone.

core.stdcpp.new_

D binding to C++
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();
@nogc void* __cpp_new(size_t count);
Binding for ::operator new(std::size_t count)
nothrow @nogc void* __cpp_new_nothrow(size_t count, 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)