#include #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<