QuadTreeVector/main.cpp
2022-11-01 21:02:10 -05:00

20 lines
317 B
C++

#include <memory>
#define OLC_PGE_APPLICATION
#include "pixelGameEngine.h"
using namespace olc;
struct MyStruct{
int val=4;
friend std::ostream&operator<<(std::ostream&os,MyStruct&rhs){
printf("Called\n");
return os;
}
};
int main()
{
MyStruct*st=new MyStruct({5});
std::cout<<*st<<std::endl;
return 0;
}