New placement header

This commit is contained in:
IlushaShurupov 2023-07-23 15:26:18 +03:00 committed by Ilya Shurupov
parent f52b351cac
commit aaa08e4495
18 changed files with 28 additions and 4 deletions

View file

@ -0,0 +1,6 @@
#pragma once
#include "Common.hpp"
inline void* operator new(std::size_t aSize, void* aWhere) noexcept { return aWhere; }
inline void* operator new[](std::size_t aSize, void* aWhere) noexcept { return aWhere; }