19 lines
570 B
C++
19 lines
570 B
C++
#pragma once
|
|
|
|
#include <stddef.h>
|
|
|
|
[[nodiscard]] void *operator new(size_t size);
|
|
|
|
void operator delete(void *ptr) noexcept;
|
|
void operator delete(void *ptr, size_t size) noexcept;
|
|
|
|
[[nodiscard]] void *operator new[](size_t size);
|
|
|
|
void operator delete[](void *ptr) noexcept;
|
|
void operator delete[](void *ptr, size_t size) noexcept;
|
|
|
|
[[nodiscard]] void *operator new(size_t size, void *ptr) noexcept;
|
|
[[nodiscard]] void *operator new[](size_t size, void *ptr) noexcept;
|
|
void operator delete(void *ptr, void *)noexcept;
|
|
void operator delete[](void *ptr, void *) noexcept;
|