title: problems using STL std::transform from cygwin g++
body: <p>I am running g++(gcc version 3.4.4) on cygwin.</p>
  
  <p>I can't get this small snippet of code to compile. I included the appropriate headers.</p>
  
  <pre><code>int main(){
  
      std::string temp("asgfsgfafgwwffw");
  
      std::transform(temp.begin(),
                     temp.end(),
                     temp.begin(),
                     std::toupper);
  
      std::cout &lt;&lt; "result:" &lt;&lt; temp &lt;&lt; std::endl;
  
      return 0;
  }
  </code></pre>
  
  <p>I have not had any issues using STL containers such as vector.
  Does anyone have any suggestions or insights into this situation.
  Thanks.</p>