title: Converting a struct to an array
body: <p>As programming becomes more complex, and the need to perform operations on struct data becomes visible. Is there a conversion method for converting a struct type into an array of its members such that:</p>
  
  <pre><code>struct FooDesc Foo{
      int num_Foo;
      int num_Bar;
      int GreenFoo;
  };
  </code></pre>
  
  <p>can be represented by:</p>
  
  <pre><code>int Bar[2];
  </code></pre>
  
  <p>Or better, dynamically as:</p>
  
  <pre><code>vector&lt;int&gt; Bar;
  </code></pre>
  
  <p>The goal is to convert or re-represent the data struct as an iteratable form, without the excessive use of the assignment operator.</p>