Alexandre Abadie 56e1b96a30
initial commit
2022-02-08 11:30:49 +01:00

23 lines
805 B
Plaintext

/**
@defgroup sys_cpp_new_delete C++ new and delete operator module
@ingroup sys
@brief This module provides the `new` and `delete` operators for platforms
that do not use `libstdc++`.
@warning This module is automatically selected, if needed. Never add it
manually.
# Background
On some platforms `libstdc++` is not used or not available, like on the AVR.
Such platforms can use this module to implement the C++ `new` and `delete`
operators using `malloc` and `free` respectively. However, to be thread-safe,
a thread-safe implementation of `malloc` and `free` must be present.
# Usage
This module is intended to be use by platforms that not providing the required
operators. Hence, application developers and users should never select this
module by hand.
*/