title: Generic vector class, make 0 size reference to generic array members;
body: <p>I have a simple template vector class like this:</p>
  
  <pre><code>template &lt;typename T, size_t N&gt;
  class Vec {
  public:
  
      T v[N];
      //T const&amp; x = v[0];
      ...
  }
  </code></pre>
  
  <p>Can I make references to the array members without size cost? Becuse if I write the commented out code, it will allocate the size for the pointer, is there a workaround or a #define or some kind of magic?</p>