title: How to convert std::string to upper case?
body: <p>I want to convert a <code>std::string</code> to uppercase. I am aware of the function <code>toupper()</code>, however in the past I have had issues with this function and it is hardly ideal anyway as use with a string would require iterating over each character.</p>
  
  <p>Is there an alternative which works in correct manner of the time?</p>