7 #ifndef ZPP_INCLUDE_ZPP_MEMORY_HPP
8 #define ZPP_INCLUDE_ZPP_MEMORY_HPP
10 #include <zephyr/kernel.h>
11 #include <zephyr/sys/__assert.h>
15 [[nodiscard]]
void*
operator new(std::size_t) noexcept
20 [[nodiscard]]
void*
operator new[](std::size_t) noexcept
25 [[nodiscard]]
void*
operator new(std::size_t, std::align_val_t) noexcept
30 [[nodiscard]]
void*
operator new[](std::size_t, std::align_val_t) noexcept
35 [[nodiscard]]
void*
operator new(std::size_t,
const std::nothrow_t&) noexcept
40 [[nodiscard]]
void*
operator new[](std::size_t,
const std::nothrow_t&) noexcept
45 [[nodiscard]]
void*
operator new(std::size_t, std::align_val_t,
const std::nothrow_t&) noexcept
50 [[nodiscard]]
void*
operator new[](std::size_t, std::align_val_t,
const std::nothrow_t&) noexcept