Have you tried this?
int * foo = new int(10);
You know by new you are invoking a constructor function, right?