Eric Pearson

  Home  |   Contact  |   Syndication    |   Login
  11 Posts | 0 Stories | 5 Comments | 31 Trackbacks

News

Article Categories

Archives

Post Categories

March 2007 Entries



I thought of a really cool use for generic-like syntax for parameterizing variable declaration beyond types. It would be awesome if generics could be used to specify dimensions within a struct. My case, I wanted to implement a Vector struct with a parametric dimension. So if I was using a vector in R2, I could create the struct as Vector<2>. If in R3...