This was discovered when debugging C ++ code in Embarcadero RAD Studio. It seems to be compiling, but frankly, although it seems obvious what it was supposed to do, I cannot understand what it is actually doing.
TObject *objPtr ( new TObject() );
If anyone could offer a reasonable explanation, I would appreciate it.
source share