µOS++ IIIe Reference  v6.3.15
“Perfekt ist nicht gut genug”
The third edition of µOS++, a POSIX inspired open source system, written in C++.
new.cpp File Reference

Global synchronised new/delete definitions. More...

Go to the source code of this file.

Namespaces

 anonymous_namespace{new.cpp}
 
 std
 Standard std namespace.
 

Functions

new_handler std::get_new_handler () noexcept
 Get the current handler. More...
 
new_handler std::set_new_handler (new_handler handler) noexcept
 Establishes the function designated by handler as the current new_handler. More...
 
Standard operators
void * operator new (std::size_t bytes)
 Allocate space for a new object instance. More...
 
void * operator new (std::size_t bytes, const std::nothrow_t &nothrow) noexcept
 Allocate space for a new object instance (nothrow). More...
 
void * operator new[] (std::size_t bytes)
 Allocate space for an array of new object instances. More...
 
void * operator new[] (std::size_t bytes, const std::nothrow_t &nothrow) noexcept
 Allocate space for an array of new object instances (nothrow). More...
 
void operator delete (void *ptr) noexcept
 Deallocate the dynamically allocated object instance. More...
 
void operator delete (void *ptr, std::size_t bytes) noexcept
 Deallocate the dynamically allocated object instance. More...
 
void operator delete (void *ptr, const std::nothrow_t &nothrow) noexcept
 Deallocate the dynamically allocated object instance (nothrow). More...
 
void operator delete[] (void *ptr) noexcept
 Deallocate the dynamically allocated array of object. More...
 
void operator delete[] (void *ptr, std::size_t bytes) noexcept
 Deallocate the dynamically allocated array of object. More...
 
void operator delete[] (void *ptr, const std::nothrow_t &nothrow) noexcept
 Deallocate the dynamically allocated array of object (nothrow). More...
 

Variables

std::new_handler anonymous_namespace{new.cpp}::new_handler_
 The current new handler. More...
 
const nothrow_t std::nothrow
 

Detailed Description

Global synchronised new/delete definitions.

Definition in file new.cpp.