Test *test = new Test();
Test *n = new Test;
...since you only have one constructor, these two statements are equivalent... If you had more than one type of constructor (i.e. those where you can pass arguments upon initialization), you would need to use the
new Test(initializers)
syntax, since
new Test
will always simply give you the default.