title: Boost MPL Sequence and defines: How to turn MPL Sequence into define string?
body: <p>I understand we <a href="http://organicvectory.com/index.php?option=com_content&amp;view=article&amp;id=75%3aboostmplcartesianproduct&amp;catid=42%3aboost&amp;Itemid=78" rel="nofollow">can</a> print elements into define one by one knowing total count (pseudocode):</p>
  
  <pre><code>    // For the sake of simplicity, I assume the Sequence passed is a boost::mpl::vector
          #define seq_to_array_str \
          &lt; typename boost::mpl::at&lt;Sequence, 0&gt;::type \
          , typename boost::mpl::at&lt;Sequence, 1&gt;::type \
          , typename boost::mpl::at&lt;Sequence, 2&gt;::type \
          ... 
          , typename boost::mpl::at&lt;Sequence, N&gt;::type
          &gt;
  </code></pre>
  
  <p>But I wonder how to automate such operation for all elements of boost::mpl Sequence? (I wonder about Vector but I hepe there can be one general answer for any mpl sequence type)</p>