title: Boost ForEach Question
body: <p>Trying to use something like the below with a char array but it doesn't compile. But the example with short[] works fine. Any idea why? :)</p>
  
  <pre><code>char someChars[] = {'s','h','e','r','r','y'};
      BOOST_FOREACH(char&amp; currentChar, someChars)
      {
  
      }
  
  
  short array_short[] = { 1, 2, 3 };
      BOOST_FOREACH( short &amp; i, array_short )
      {
          ++i;
      }
  </code></pre>