title: Is it possible to create and initialize an array of values using template metaprogramming?
body: <p>I want to be able to create an array of calculated values (let's say for simplicity's sake that I want each value to be the square of it's index) at compile time  using template metaprogramming.  Is this possible?  How does each location in the array get initialized?</p>
  
  <p>(Yes, there are easier ways to do this without resorting to template metaprogramming, just wondering if it's possible to do this with an array.)</p>