AllocStd.h does not provide any useful functionality and is used to implement undefined behaviour
Created by: SkyToGround
The code in AllocStd.h currently does nothing useful that can not be replaced with a single line of code (new std::uint8_t[SomeSize]
) and should probably be removed for this reason alone. However, I also noted that AllocStd.h allocates memory using malloc()
, which is then deallocated using delete
. This is undefined behaviour.
Is there a good reason not to remove AllocStd.h?