foo-&gt;new-&gt;hello();