2021-09-26 15:24:15 +00:00
|
|
|
#include "CoreMinimal.h"
|
2021-10-05 10:33:18 +00:00
|
|
|
#include "HAL/Memory.h"
|
2021-09-26 15:24:15 +00:00
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
#include <cassert>
|
2021-10-05 10:33:18 +00:00
|
|
|
#include <new>
|
2021-09-26 15:24:15 +00:00
|
|
|
|
|
|
|
NS_STD_USING
|
|
|
|
NS_REDCRAFT_USING
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
2021-10-05 10:33:18 +00:00
|
|
|
int32* Ptr = new int32;
|
|
|
|
*Ptr = 13;
|
|
|
|
cout << *Ptr << endl;
|
|
|
|
delete Ptr;
|
2021-09-26 15:24:15 +00:00
|
|
|
return 0;
|
|
|
|
}
|