Int* x;

int* x;
int *x;
Well?

Attached: 1542022437995.jpg (512x422, 29K)

int * x;

/thread

std::unique

std::shared_ptr x;

int *x, *y;

int *(x)

I always used
int* x;
Since it seemed more obvious that it was an integer pointer data type, but ever since learning that
int* x, y;
Doesn’t declare two integer pointers I can see why it isn’t correct. I still think it looks cleaner though

And it also helps distinguish between declaring a pointer and dereferencing one

int * x;