title: Can a class expose a number without instantiating it?
body: <p>A class can expose types without instantiating it. For example:</p>
  
  <pre><code>class bar {
    typedef int GET_TYPE;
  };
  
  template&lt;class T&gt;
  void foo() {
    typename T::GET_TYPE t;
    // do something with t
  }
  
  foo&lt;bar&gt;();
  </code></pre>
  
  <p>Can a integer number be exposed in a similar way? In the sense that template parameters can be either types or built-in types.</p>