title: How do i get type from pointer in a template?
body: <p>I know how to write something up but i am sure there is a standard way of passing in something like <code>func&lt;TheType*&gt;()</code> and using template magic to extract TheType for use in your code (maybe TheType::SomeStaticCall).</p>
  
  <p>What is the standard way/function to get that type when a ptr is passed in?</p>